Started by upstream project "CE_RM_gplibrary_PR" build number 85 originally caused by: GitHub pull request #179 of commit c2e65da41b4fa7a47bef1916a3850932a89a7055, no merge conflicts. Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on windows10x64 in workspace C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek No credentials specified Wiping out workspace first. Cloning the remote Git repository Cloning repository https://github.com/convexengineering/gplibrary > C:\Program Files\Git\cmd\git init C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek # timeout=10 Fetching upstream changes from https://github.com/convexengineering/gplibrary > C:\Program Files\Git\cmd\git --version # timeout=10 > C:\Program Files\Git\cmd\git fetch --tags --progress -- https://github.com/convexengineering/gplibrary +refs/heads/*:refs/remotes/origin/* # timeout=10 > C:\Program Files\Git\cmd\git config remote.origin.url https://github.com/convexengineering/gplibrary # timeout=10 > C:\Program Files\Git\cmd\git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > C:\Program Files\Git\cmd\git config remote.origin.url https://github.com/convexengineering/gplibrary # timeout=10 Fetching upstream changes from https://github.com/convexengineering/gplibrary > C:\Program Files\Git\cmd\git fetch --tags --progress -- https://github.com/convexengineering/gplibrary +refs/pull/*:refs/remotes/origin/pr/* +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging Revision 03bfe8f8c830243a0da570c82df531c1817715fe (refs/remotes/origin/pr/179/merge) to origin/master, UserMergeOptions{mergeRemote='origin', mergeTarget='master', mergeStrategy='DEFAULT', fastForwardMode='FF'} > C:\Program Files\Git\cmd\git rev-parse "origin/master^{commit}" # timeout=10 > C:\Program Files\Git\cmd\git config core.sparsecheckout # timeout=10 > C:\Program Files\Git\cmd\git checkout -f origin/master # timeout=3 > C:\Program Files\Git\cmd\git remote # timeout=10 > C:\Program Files\Git\cmd\git config --get remote.origin.url # timeout=10 > C:\Program Files\Git\cmd\git merge --ff 03bfe8f8c830243a0da570c82df531c1817715fe # timeout=10 > C:\Program Files\Git\cmd\git rev-parse "HEAD^{commit}" # timeout=10 Seen branch in repository origin/1682literate Seen branch in repository origin/1682master Seen branch in repository origin/Breakdown Seen branch in repository origin/SimP Seen branch in repository origin/aerosurf Seen branch in repository origin/atmosphere Seen branch in repository origin/bounds5 Seen branch in repository origin/boxspar Seen branch in repository origin/breguet_range Seen branch in repository origin/breguetsetup Seen branch in repository origin/climb Seen branch in repository origin/commercial_sizing Seen branch in repository origin/compress-aero Seen branch in repository origin/d8 Seen branch in repository origin/electric_motor Seen branch in repository origin/firefly Seen branch in repository origin/fits Seen branch in repository origin/flightsegments Seen branch in repository origin/interactive_simpleflight Seen branch in repository origin/libRename Seen branch in repository origin/master Seen branch in repository origin/materials Seen branch in repository origin/md_template Seen branch in repository origin/motor Seen branch in repository origin/ncrit Seen branch in repository origin/performance Seen branch in repository origin/pr/10/head Seen branch in repository origin/pr/100/head Seen branch in repository origin/pr/103/head Seen branch in repository origin/pr/105/head Seen branch in repository origin/pr/105/merge Seen branch in repository origin/pr/107/head Seen branch in repository origin/pr/109/head Seen branch in repository origin/pr/11/head Seen branch in repository origin/pr/11/merge Seen branch in repository origin/pr/110/head Seen branch in repository origin/pr/112/head Seen branch in repository origin/pr/113/head Seen branch in repository origin/pr/113/merge Seen branch in repository origin/pr/114/head Seen branch in repository origin/pr/115/head Seen branch in repository origin/pr/115/merge Seen branch in repository origin/pr/116/head Seen branch in repository origin/pr/118/head Seen branch in repository origin/pr/119/head Seen branch in repository origin/pr/119/merge Seen branch in repository origin/pr/12/head Seen branch in repository origin/pr/120/head Seen branch in repository origin/pr/121/head Seen branch in repository origin/pr/121/merge Seen branch in repository origin/pr/122/head Seen branch in repository origin/pr/123/head Seen branch in repository origin/pr/124/head Seen branch in repository origin/pr/125/head Seen branch in repository origin/pr/127/head Seen branch in repository origin/pr/128/head Seen branch in repository origin/pr/129/head Seen branch in repository origin/pr/13/head Seen branch in repository origin/pr/13/merge Seen branch in repository origin/pr/131/head Seen branch in repository origin/pr/132/head Seen branch in repository origin/pr/133/head Seen branch in repository origin/pr/134/head Seen branch in repository origin/pr/135/head Seen branch in repository origin/pr/136/head Seen branch in repository origin/pr/137/head Seen branch in repository origin/pr/138/head Seen branch in repository origin/pr/139/head Seen branch in repository origin/pr/14/head Seen branch in repository origin/pr/14/merge Seen branch in repository origin/pr/141/head Seen branch in repository origin/pr/143/head Seen branch in repository origin/pr/144/head Seen branch in repository origin/pr/144/merge Seen branch in repository origin/pr/145/head Seen branch in repository origin/pr/145/merge Seen branch in repository origin/pr/146/head Seen branch in repository origin/pr/147/head Seen branch in repository origin/pr/149/head Seen branch in repository origin/pr/15/head Seen branch in repository origin/pr/150/head Seen branch in repository origin/pr/151/head Seen branch in repository origin/pr/152/head Seen branch in repository origin/pr/153/head Seen branch in repository origin/pr/154/head Seen branch in repository origin/pr/154/merge Seen branch in repository origin/pr/155/head Seen branch in repository origin/pr/156/head Seen branch in repository origin/pr/157/head Seen branch in repository origin/pr/158/head Seen branch in repository origin/pr/159/head Seen branch in repository origin/pr/16/head Seen branch in repository origin/pr/160/head Seen branch in repository origin/pr/160/merge Seen branch in repository origin/pr/161/head Seen branch in repository origin/pr/162/head Seen branch in repository origin/pr/163/head Seen branch in repository origin/pr/165/head Seen branch in repository origin/pr/166/head Seen branch in repository origin/pr/166/merge Seen branch in repository origin/pr/167/head Seen branch in repository origin/pr/168/head Seen branch in repository origin/pr/169/head Seen branch in repository origin/pr/17/head Seen branch in repository origin/pr/17/merge Seen branch in repository origin/pr/171/head Seen branch in repository origin/pr/172/head Seen branch in repository origin/pr/173/head Seen branch in repository origin/pr/173/merge Seen branch in repository origin/pr/174/head Seen branch in repository origin/pr/174/merge Seen branch in repository origin/pr/175/head Seen branch in repository origin/pr/176/head Seen branch in repository origin/pr/179/head Seen branch in repository origin/pr/179/merge Seen branch in repository origin/pr/19/head Seen branch in repository origin/pr/19/merge Seen branch in repository origin/pr/20/head Seen branch in repository origin/pr/22/head Seen branch in repository origin/pr/22/merge Seen branch in repository origin/pr/23/head Seen branch in repository origin/pr/23/merge Seen branch in repository origin/pr/24/head Seen branch in repository origin/pr/25/head Seen branch in repository origin/pr/26/head Seen branch in repository origin/pr/26/merge Seen branch in repository origin/pr/27/head Seen branch in repository origin/pr/29/head Seen branch in repository origin/pr/30/head Seen branch in repository origin/pr/31/head Seen branch in repository origin/pr/33/head Seen branch in repository origin/pr/34/head Seen branch in repository origin/pr/35/head Seen branch in repository origin/pr/36/head Seen branch in repository origin/pr/37/head Seen branch in repository origin/pr/38/head Seen branch in repository origin/pr/39/head Seen branch in repository origin/pr/40/head Seen branch in repository origin/pr/40/merge Seen branch in repository origin/pr/42/head Seen branch in repository origin/pr/42/merge Seen branch in repository origin/pr/43/head Seen branch in repository origin/pr/44/head Seen branch in repository origin/pr/44/merge Seen branch in repository origin/pr/45/head Seen branch in repository origin/pr/46/head Seen branch in repository origin/pr/46/merge Seen branch in repository origin/pr/47/head Seen branch in repository origin/pr/47/merge Seen branch in repository origin/pr/5/head Seen branch in repository origin/pr/54/head Seen branch in repository origin/pr/54/merge Seen branch in repository origin/pr/55/head Seen branch in repository origin/pr/57/head Seen branch in repository origin/pr/58/head Seen branch in repository origin/pr/60/head Seen branch in repository origin/pr/61/head Seen branch in repository origin/pr/62/head Seen branch in repository origin/pr/63/head Seen branch in repository origin/pr/63/merge Seen branch in repository origin/pr/64/head Seen branch in repository origin/pr/69/head Seen branch in repository origin/pr/70/head Seen branch in repository origin/pr/70/merge Seen branch in repository origin/pr/71/head Seen branch in repository origin/pr/72/head Seen branch in repository origin/pr/72/merge Seen branch in repository origin/pr/73/head Seen branch in repository origin/pr/73/merge Seen branch in repository origin/pr/75/head Seen branch in repository origin/pr/75/merge Seen branch in repository origin/pr/77/head Seen branch in repository origin/pr/77/merge Seen branch in repository origin/pr/78/head Seen branch in repository origin/pr/78/merge Seen branch in repository origin/pr/80/head Seen branch in repository origin/pr/82/head Seen branch in repository origin/pr/82/merge Seen branch in repository origin/pr/83/head Seen branch in repository origin/pr/83/merge Seen branch in repository origin/pr/85/head Seen branch in repository origin/pr/85/merge Seen branch in repository origin/pr/86/head Seen branch in repository origin/pr/88/head Seen branch in repository origin/pr/88/merge Seen branch in repository origin/pr/89/head Seen branch in repository origin/pr/89/merge Seen branch in repository origin/pr/9/head Seen branch in repository origin/pr/90/head Seen branch in repository origin/pr/90/merge Seen branch in repository origin/pr/91/head Seen branch in repository origin/pr/91/merge Seen branch in repository origin/pr/92/head Seen branch in repository origin/pr/92/merge Seen branch in repository origin/pr/94/head Seen branch in repository origin/pr/96/head Seen branch in repository origin/pr/96/merge Seen branch in repository origin/pr/97/head Seen branch in repository origin/pr/97/merge Seen branch in repository origin/pr/98/head Seen branch in repository origin/pr/99/head Seen branch in repository origin/prop_beta Seen branch in repository origin/qstr Seen branch in repository origin/quadrotor Seen branch in repository origin/robustSPpaper Seen branch in repository origin/robustSPpaper2 Seen branch in repository origin/rockets Seen branch in repository origin/sigeq_paper Seen branch in repository origin/simple_HT_sizing Seen branch in repository origin/simple_flight_profile Seen branch in repository origin/standard_atmosphere Seen branch in repository origin/sutherland Seen branch in repository origin/troposphere Seen branch in repository origin/uncertain Seen branch in repository origin/vectorizeplanform Seen branch in repository origin/wide_body Seen branch in repository origin/wvl Seen 217 remote branches > C:\Program Files\Git\cmd\git show-ref --tags -d # timeout=10 Checking out Revision 03bfe8f8c830243a0da570c82df531c1817715fe (origin/pr/179/merge, origin/master) > C:\Program Files\Git\cmd\git config core.sparsecheckout # timeout=10 > C:\Program Files\Git\cmd\git checkout -f 03bfe8f8c830243a0da570c82df531c1817715fe # timeout=3 Commit message: "Merge c2e65da41b4fa7a47bef1916a3850932a89a7055 into d5b360304df30eddbfe40611e0dd7c678a6e5066" Using 'Changelog to branch' strategy. Run condition [Execution node ] enabling prebuild for step [Execute shell] Run condition [Execution node ] enabling prebuild for step [Execute Windows batch command] [Execution node] check if [windows10x64] is in [[macys, macys_VM, reynolds, reynolds-ubuntu16]] Run condition [Execution node ] preventing perform for step [Execute shell] [Execution node] check if [windows10x64] is in [[windows10x64, windows7x64]] Run condition [Execution node ] enabling perform for step [Execute Windows batch command] [mosek] $ cmd /c call C:\Users\jenkins\AppData\Local\Temp\jenkins815670455283356763.bat C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>set PATH=C:\Users\jenkins\AppData\Local\Programs\Python\Python37;C:\Users\jenkins\AppData\Local\Programs\Python\Python37\Scripts;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Anaconda2;C:\Anaconda2\Scripts;C:\Anaconda2\Library\bin;C:\Program Files\Mosek\8\tools\platform\win64x86\bin;C:\Program Files (x86)\Intel\Compiler\Fortran\9.1\EM64T\Bin;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Mosek\9.1\tools\platform\win64x86\bin;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps;C:\Users\jenkins\AppData\Local\Programs\Python\Python38;C:\Users\jenkins\AppData\Local\Programs\Python\Python38\Scripts C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>set PATH=C:\mingw-w64\x86_64-6.4.0-posix-seh-rt_v5-rev0\mingw64\bin;C:\Users\jenkins\AppData\Local\Programs\Python\Python37;C:\Users\jenkins\AppData\Local\Programs\Python\Python37\Scripts;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Anaconda2;C:\Anaconda2\Scripts;C:\Anaconda2\Library\bin;C:\Program Files\Mosek\8\tools\platform\win64x86\bin;C:\Program Files (x86)\Intel\Compiler\Fortran\9.1\EM64T\Bin;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Mosek\9.1\tools\platform\win64x86\bin;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps;C:\Users\jenkins\AppData\Local\Programs\Python\Python38;C:\Users\jenkins\AppData\Local\Programs\Python\Python38\Scripts C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>echo C:\mingw-w64\x86_64-6.4.0-posix-seh-rt_v5-rev0\mingw64\bin;C:\Users\jenkins\AppData\Local\Programs\Python\Python37;C:\Users\jenkins\AppData\Local\Programs\Python\Python37\Scripts;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Anaconda2;C:\Anaconda2\Scripts;C:\Anaconda2\Library\bin;C:\Program Files\Mosek\8\tools\platform\win64x86\bin;C:\Program Files (x86)\Intel\Compiler\Fortran\9.1\EM64T\Bin;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Mosek\9.1\tools\platform\win64x86\bin;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps;C:\Users\jenkins\AppData\Local\Programs\Python\Python38;C:\Users\jenkins\AppData\Local\Programs\Python\Python38\Scripts C:\mingw-w64\x86_64-6.4.0-posix-seh-rt_v5-rev0\mingw64\bin;C:\Users\jenkins\AppData\Local\Programs\Python\Python37;C:\Users\jenkins\AppData\Local\Programs\Python\Python37\Scripts;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Anaconda2;C:\Anaconda2\Scripts;C:\Anaconda2\Library\bin;C:\Program Files\Mosek\8\tools\platform\win64x86\bin;C:\Program Files (x86)\Intel\Compiler\Fortran\9.1\EM64T\Bin;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Mosek\9.1\tools\platform\win64x86\bin;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps;C:\Users\jenkins\AppData\Local\Programs\Python\Python38;C:\Users\jenkins\AppData\Local\Programs\Python\Python38\Scripts C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>where python C:\Users\jenkins\AppData\Local\Programs\Python\Python37\python.exe C:\Anaconda2\python.exe C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps\python.exe C:\Users\jenkins\AppData\Local\Programs\Python\Python38\python.exe C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>python --version Python 3.7.6 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>REM Create a virtualenv to install everything into C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>SET VENV=C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek\venv_gpkit C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>virtualenv --system-site-packages C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek\venv_gpkit created virtual environment CPython3.7.6.final.0-64 in 5907ms creator CPython3Windows(dest=C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek\venv_gpkit, clear=False, global=True) seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, via=copy, app_data_dir=C:\Users\jenkins\AppData\Local\Temp\tmpy9ulu4bh\seed-app-data\v1) activators BashActivator,BatchActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>call C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek\venv_gpkit\Scripts\activate.bat C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>python -m pip install --upgrade pip Requirement already up-to-date: pip in c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\venv_gpkit\lib\site-packages (20.0.2) C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>pip install --upgrade ad Processing c:\users\jenkins\appdata\local\pip\cache\wheels\05\ca\c3\e346f6d92289be5bcf02827cd5602dac6c8dc74ae3a846e34d\ad-1.3.2-py3-none-any.whl Installing collected packages: ad Successfully installed ad-1.3.2 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>pip install --upgrade unittest-xml-reporting Collecting unittest-xml-reporting Using cached unittest_xml_reporting-3.0.2-py2.py3-none-any.whl (19 kB) Installing collected packages: unittest-xml-reporting Successfully installed unittest-xml-reporting-3.0.2 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>pip install --upgrade pandas Collecting pandas Using cached pandas-1.0.3-cp37-cp37m-win_amd64.whl (8.7 MB) Collecting numpy>=1.13.3 Using cached numpy-1.18.3-cp37-cp37m-win_amd64.whl (12.8 MB) Collecting pytz>=2017.2 Using cached pytz-2019.3-py2.py3-none-any.whl (509 kB) Collecting python-dateutil>=2.6.1 Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB) Requirement already satisfied, skipping upgrade: six>=1.5 in c:\users\jenkins\appdata\local\programs\python\python37\lib\site-packages (from python-dateutil>=2.6.1->pandas) (1.14.0) Installing collected packages: numpy, pytz, python-dateutil, pandas Successfully installed numpy-1.18.3 pandas-1.0.3 python-dateutil-2.8.1 pytz-2019.3 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>pip install --upgrade matplotlib Collecting matplotlib Using cached matplotlib-3.2.1-cp37-cp37m-win_amd64.whl (9.2 MB) Requirement already satisfied, skipping upgrade: python-dateutil>=2.1 in c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\venv_gpkit\lib\site-packages (from matplotlib) (2.8.1) Collecting cycler>=0.10 Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB) Collecting kiwisolver>=1.0.1 Using cached kiwisolver-1.2.0-cp37-none-win_amd64.whl (57 kB) Requirement already satisfied, skipping upgrade: numpy>=1.11 in c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\venv_gpkit\lib\site-packages (from matplotlib) (1.18.3) Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) Requirement already satisfied, skipping upgrade: six>=1.5 in c:\users\jenkins\appdata\local\programs\python\python37\lib\site-packages (from python-dateutil>=2.1->matplotlib) (1.14.0) Installing collected packages: cycler, kiwisolver, pyparsing, matplotlib Successfully installed cycler-0.10.0 kiwisolver-1.2.0 matplotlib-3.2.1 pyparsing-2.4.7 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>pip install --upgrade coverage Collecting coverage Using cached coverage-5.1-cp37-cp37m-win_amd64.whl (205 kB) Installing collected packages: coverage Successfully installed coverage-5.1 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>pip install --upgrade numpy Requirement already up-to-date: numpy in c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\venv_gpkit\lib\site-packages (1.18.3) C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>pip install --upgrade scipy Collecting scipy Using cached scipy-1.4.1-cp37-cp37m-win_amd64.whl (30.9 MB) Requirement already satisfied, skipping upgrade: numpy>=1.13.3 in c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\venv_gpkit\lib\site-packages (from scipy) (1.18.3) Installing collected packages: scipy Successfully installed scipy-1.4.1 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>pip install --upgrade pint==0.9 ERROR: Could not find a version that satisfies the requirement pint==0.9 (from versions: none) ERROR: No matching distribution found for pint==0.9 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>if mosek == cvxopt ( pip install --upgrade cvxopt || exit /b 666 python -c "import cvxopt; print(cvxopt.__version__)" set GPKITSOLVERS=cvxopt ) C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>REM for mosek9/mosek_conif C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>REM if mosek==mosek python -c "__import__('mosek').Env()" C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>if mosek == mosek ( msktestlic set GPKITSOLVERS=mosek_cli ) Problem Name : Objective sense : min Type : LO (linear optimization problem) Constraints : 1 Cones : 0 Scalar variables : 5000 Matrix variables : 0 Integer variables : 0 Optimizer started. Mosek license manager: License path: C:\Users\jenkins\mosek\mosek.lic Mosek license manager: Checkout license feature 'PTS' from flexlm. Mosek license manager: Checkout time 0.01. r: 0 status: 0 Interior-point optimizer started. Presolve started. Eliminator started. Freed constraints in eliminator : 0 Eliminator terminated. Eliminator - tries : 1 time : 0.00 Lin. dep. - tries : 0 time : 0.00 Lin. dep. - number : 0 Presolve terminated. Time: 0.01 Interior-point optimizer terminated. Time: 0.01. Optimizer terminated. Time: 0.05 ************************************ A license was checked out correctly. ************************************ C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>python -c "import scipy; print(scipy.__version__)" 1.4.1 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>python -c "import numpy; print(numpy.__version__)" 1.18.3 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>python -c "import pint; print(pint.__version__)" Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'pint' C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>git --version git version 2.16.2.windows.1 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>git clone --depth 1 https://github.com/convexengineering/gpkit.git C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek\gpkit || exit /b 666 Cloning into 'C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek\gpkit'... C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>pip install --no-cache-dir --no-deps -e C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek\gpkit || exit /b 666 Obtaining file:///C:/Users/jenkins/workspace/CE_RM_gplibrary_PR/mosek/gpkit Installing collected packages: gpkit Running setup.py develop for gpkit Successfully installed gpkit C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>REM python -c "from gpkit.build import rebuild; rebuild()" C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>REM type C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek\gpkit\gpkit\env\settings C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>REM dir C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>python -c "import gpkit; print(gpkit.__version__)" || exit /b 666 No filename given. Usage: mskexpopt FILENAME [-primal] [-dual] [-p parameterfile] Return code: 1052 Description: MSK_RES_ERR_FILE_OPEN [An error occurred while opening a file.] ..E....E...E..E.E...E..EE...........EF.E.....E....E..E....E....E........EE..F..E..E..E..................E..EEE......E.EEE..EEE..E.....E.EE.......EEEFE.E.E....EEEE.EE.EE...EEE.E..E....E ====================================================================== ERROR: test_parse_variables (gpkit.tests.t_tools.TestTools) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_tools.py", line 77, in test_parse_variables Fuselage(Variable("Wfueltot", 5, "lbf")) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\constraints\model.py", line 54, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_tools.py", line 57, in setup f == l/R/2, File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 238, in __truediv__ return other.__rtruediv__(self) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 320, in __rtruediv__ out = other * self**-1 File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 331, in __pow__ hmap.units = self.hmap.units**expo TypeError: unsupported operand type(s) for ** or pow(): 'Quantity' and 'int' ====================================================================== ERROR: test_dimensionless_units (gpkit.tests.t_sub.TestNomialSubs) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_sub.py", line 50, in test_dimensionless_units self.assertAlmostEqual((x/y).value, 0.9144) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 238, in __truediv__ return other.__rtruediv__(self) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 320, in __rtruediv__ out = other * self**-1 File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 331, in __pow__ hmap.units = self.hmap.units**expo TypeError: unsupported operand type(s) for ** or pow(): 'Quantity' and 'int' ====================================================================== ERROR: test_vector (gpkit.tests.t_sub.TestNomialSubs) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_sub.py", line 64, in test_vector self.assertAlmostEqual(mag(xs.sub({x_: [1, 2, 3]}).c), 3.0) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 314, in c self._c, = self.cs # pylint: disable=attribute-defined-outside-init, invalid-name File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\data.py", line 44, in cs self._cs = self._cs*self.hmap.units TypeError: unsupported operand type(s) for *: 'float' and 'Quantity' ====================================================================== ERROR: test_calcconst (gpkit.tests.t_sub.TestModelSubs) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_sub.py", line 222, in test_calcconst self.assertAlmostEqual(sol(t_night)/gpkit.ureg.hours, 12) AttributeError: 'NoneType' object has no attribute 'hours' ====================================================================== ERROR: test_model_composition_units (gpkit.tests.t_sub.TestModelSubs) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_sub.py", line 276, in test_model_composition_units a, b = Above(), Below() File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\constraints\model.py", line 54, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_sub.py", line 260, in setup self.cost = 1/x File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 320, in __rtruediv__ out = other * self**-1 File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 331, in __pow__ hmap.units = self.hmap.units**expo TypeError: unsupported operand type(s) for ** or pow(): 'Quantity' and 'int' ====================================================================== ERROR: test_quantity_sub (gpkit.tests.t_sub.TestModelSubs) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_sub.py", line 112, in test_quantity_sub self.assertEqual(x.sub({x: 1*gpkit.units.m}).c.magnitude, 100) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 37, in __call__ self.monomial_cache[unity] = Monomial(qty(unity)) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 57, in __init__ super().__init__(hmap) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\data.py", line 25, in __init__ self.any_nonpositive_cs = any(c <= 0 for c in self.hmap.values()) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\data.py", line 25, in <genexpr> self.any_nonpositive_cs = any(c <= 0 for c in self.hmap.values()) TypeError: '<=' not supported between instances of 'Quantity' and 'int' ====================================================================== ERROR: test_united_sub_sweep (gpkit.tests.t_sub.TestModelSubs) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_sub.py", line 167, in test_united_sub_sweep m = Model(Y, [Y >= h*Q + A/Q]) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 238, in __truediv__ return other.__rtruediv__(self) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 320, in __rtruediv__ out = other * self**-1 File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 331, in __pow__ hmap.units = self.hmap.units**expo TypeError: unsupported operand type(s) for ** or pow(): 'Quantity' and 'int' ====================================================================== ERROR: test_vector_init (gpkit.tests.t_sub.TestModelSubs) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_sub.py", line 245, in test_vector_init a, b = sol("xi"), xi_dist*gpkit.ureg.N AttributeError: 'NoneType' object has no attribute 'N' ====================================================================== ERROR: test_to (gpkit.tests.t_vars.TestVariable) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_vars.py", line 185, in test_to self.assertEqual(x.to("inch").c.magnitude, 12) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\variables.py", line 69, in to return Monomial(self).to(units) # pylint: disable=no-member File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\data.py", line 29, in to return self.__class__(self.hmap.to(units)) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\map.py", line 51, in to nm = self * sunits.to(to_units).magnitude # note that * creates a copy AttributeError: 'Quantity' object has no attribute 'to' ====================================================================== ERROR: test_constraint_creation_units (gpkit.tests.t_vars.TestVectorVariable) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_vars.py", line 229, in test_constraint_creation_units c = (v >= 40*gpkit.units("ft/s")) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 37, in __call__ self.monomial_cache[unity] = Monomial(qty(unity)) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 57, in __init__ super().__init__(hmap) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\data.py", line 25, in __init__ self.any_nonpositive_cs = any(c <= 0 for c in self.hmap.values()) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\data.py", line 25, in <genexpr> self.any_nonpositive_cs = any(c <= 0 for c in self.hmap.values()) TypeError: '<=' not supported between instances of 'Quantity' and 'int' ====================================================================== ERROR: test_diff (gpkit.tests.t_nomials.TestPosynomial) Test differentiation (!!) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_nomials.py", line 394, in test_diff d = (3*x**2).diff(x) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 331, in __pow__ hmap.units = self.hmap.units**expo TypeError: unsupported operand type(s) for ** or pow(): 'Quantity' and 'int' ====================================================================== ERROR: test_mono_lower_bound (gpkit.tests.t_nomials.TestPosynomial) Test monomial approximation ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_nomials.py", line 417, in test_mono_lower_bound p = (d*h**2 + h*d**2) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 331, in __pow__ hmap.units = self.hmap.units**expo TypeError: unsupported operand type(s) for ** or pow(): 'Quantity' and 'int' ====================================================================== ERROR: test_add (gpkit.tests.t_nomials.TestMonomial) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_nomials.py", line 94, in test_add with self.assertRaises(gpkit.DimensionalityError): File "c:\users\jenkins\appdata\local\programs\python\python37\lib\unittest\case.py", line 756, in assertRaises return context.handle('assertRaises', args, kwargs) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\unittest\case.py", line 159, in handle (name, self._base_type_str)) TypeError: assertRaises() arg 1 must be an exception type or tuple of exception types ====================================================================== ERROR: test_mul (gpkit.tests.t_nomials.TestMonomial) Test monomial multiplication ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_nomials.py", line 176, in test_mul self.assertNotEqual((x+1), (x+1)*gpkit.units("m")) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 37, in __call__ self.monomial_cache[unity] = Monomial(qty(unity)) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 57, in __init__ super().__init__(hmap) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\data.py", line 25, in __init__ self.any_nonpositive_cs = any(c <= 0 for c in self.hmap.values()) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\data.py", line 25, in <genexpr> self.any_nonpositive_cs = any(c <= 0 for c in self.hmap.values()) TypeError: '<=' not supported between instances of 'Quantity' and 'int' ====================================================================== ERROR: test_units (gpkit.tests.t_nomials.TestMonomial) make sure multiplication with units works (issue 492) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_nomials.py", line 203, in test_units m = 1.2 * gpkit.units.ft * Variable("x", "m")**2 File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 37, in __call__ self.monomial_cache[unity] = Monomial(qty(unity)) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 57, in __init__ super().__init__(hmap) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\data.py", line 25, in __init__ self.any_nonpositive_cs = any(c <= 0 for c in self.hmap.values()) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\data.py", line 25, in <genexpr> self.any_nonpositive_cs = any(c <= 0 for c in self.hmap.values()) TypeError: '<=' not supported between instances of 'Quantity' and 'int' ====================================================================== ERROR: test_equality_relaxation (gpkit.tests.t_constraints.TestConstraint) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_constraints.py", line 60, in test_equality_relaxation self.assertAlmostEqual(m2.solve(verbosity=0)(x), 3, places=3) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\unittest\case.py", line 883, in assertAlmostEqual diff = abs(first - second) TypeError: unsupported operand type(s) for -: 'Quantity' and 'int' ====================================================================== ERROR: test_evalfn (gpkit.tests.t_constraints.TestConstraint) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_constraints.py", line 53, in test_evalfn self.assertAlmostEqual(sol(x2), sol(x)**2) TypeError: unsupported operand type(s) for ** or pow(): 'Quantity' and 'int' ====================================================================== ERROR: test_init (gpkit.tests.t_constraints.TestMonomialEquality) Test initialization via both operator overloading and __init__ ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 48, in of_division return self.division_cache[key] KeyError: (140706465201376, 1792018070920) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_constraints.py", line 155, in test_init self.assertRaises(ValueError, MonomialEquality, x, y) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\unittest\case.py", line 756, in assertRaises return context.handle('assertRaises', args, kwargs) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\unittest\case.py", line 178, in handle callable_obj(*args, **kwargs) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 515, in __init__ self.unsubbed = self._gen_unsubbed(self.left, self.right) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 535, in _gen_unsubbed l_over_r = unsubbed(self, left, right) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 465, in _gen_unsubbed m_c *= units.of_division(m_gt, p_lt) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 53, in of_division conversion = numerator.units or 1/denominator.units TypeError: unsupported operand type(s) for /: 'int' and 'Quantity' ====================================================================== ERROR: test_united_dimensionless (gpkit.tests.t_constraints.TestMonomialEquality) Check dimensionless unit-ed variables work ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 48, in of_division return self.division_cache[key] KeyError: (1792014420552, 140706465201376) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 55, in of_division self.division_cache[key] = float(conversion) TypeError: float() argument must be a string or a number, not 'Quantity' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_constraints.py", line 193, in test_united_dimensionless c = MonomialEquality(x, y) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 515, in __init__ self.unsubbed = self._gen_unsubbed(self.left, self.right) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 535, in _gen_unsubbed l_over_r = unsubbed(self, left, right) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 465, in _gen_unsubbed m_c *= units.of_division(m_gt, p_lt) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 56, in of_division except DimensionalityError: TypeError: catching classes that do not inherit from BaseException is not allowed ====================================================================== ERROR: test_init (gpkit.tests.t_constraints.TestSignomialInequality) Test initialization and types ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\map.py", line 59, in __add__ other *= float(other.units/self.units) TypeError: unsupported operand type(s) for /: 'NoneType' and 'Quantity' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_constraints.py", line 253, in test_init sc = (D >= x1 + x2 - x3) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 259, in __sub__ return self + -other if SignomialsEnabled else NotImplemented # pylint: disable=using-constant-test File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 194, in __add__ out = Signomial(self.hmap + other_hmap) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\map.py", line 61, in __add__ raise DimensionalityError(self.units, other.units) TypeError: 'NoneType' object is not callable ====================================================================== ERROR: test_units (gpkit.tests.t_nomial_array.TestNomialArray) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_nomial_array.py", line 86, in test_units constraints = (c == 1*gpkit.units.m) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 37, in __call__ self.monomial_cache[unity] = Monomial(qty(unity)) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 57, in __init__ super().__init__(hmap) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\data.py", line 25, in __init__ self.any_nonpositive_cs = any(c <= 0 for c in self.hmap.values()) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\data.py", line 25, in <genexpr> self.any_nonpositive_cs = any(c <= 0 for c in self.hmap.values()) TypeError: '<=' not supported between instances of 'Quantity' and 'int' ====================================================================== ERROR: test_modelcontainmentprinting (gpkit.tests.t_model.TestModelNoSolve) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_model.py", line 753, in test_modelcontainmentprinting t = Thing2() File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\constraints\model.py", line 54, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_model.py", line 674, in setup return [Thing(2), Model()] File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\constraints\model.py", line 54, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_model.py", line 668, in setup return [a >= c/b] File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\array.py", line 63, in __rtruediv__ out = (np.ndarray.__mul__(self**-1, other)) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\array.py", line 78, in __pow__ out = (np.ndarray.__pow__(self, expo)) # pylint: disable=too-many-function-args File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 331, in __pow__ hmap.units = self.hmap.units**expo TypeError: unsupported operand type(s) for ** or pow(): 'Quantity' and 'int' ====================================================================== ERROR: test_modelname_added (gpkit.tests.t_model.TestModelNoSolve) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_model.py", line 748, in test_modelname_added t = Thing(2) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\constraints\model.py", line 54, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_model.py", line 668, in setup return [a >= c/b] File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\array.py", line 63, in __rtruediv__ out = (np.ndarray.__mul__(self**-1, other)) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\array.py", line 78, in __pow__ out = (np.ndarray.__pow__(self, expo)) # pylint: disable=too-many-function-args File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 331, in __pow__ hmap.units = self.hmap.units**expo TypeError: unsupported operand type(s) for ** or pow(): 'Quantity' and 'int' ====================================================================== ERROR: test_no_naming_on_var_access (gpkit.tests.t_model.TestModelNoSolve) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 48, in of_division return self.division_cache[key] KeyError: (140706465201376, 1792019268680) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_model.py", line 761, in test_no_naming_on_var_access box = Box() File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\constraints\model.py", line 54, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_model.py", line 709, in setup return [V == h*w*d] File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 342, in __eq__ return MonomialEquality(self, other) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 515, in __init__ self.unsubbed = self._gen_unsubbed(self.left, self.right) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 535, in _gen_unsubbed l_over_r = unsubbed(self, left, right) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 465, in _gen_unsubbed m_c *= units.of_division(m_gt, p_lt) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 53, in of_division conversion = numerator.units or 1/denominator.units TypeError: unsupported operand type(s) for /: 'int' and 'Quantity' ====================================================================== ERROR: test_mdd_example (gpkit.tests.t_model.TestGP_mosek_cli) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_model.py", line 196, in test_mdd_example self.assertAlmostEqual(sol1(Mdd), sol2(Mdd)) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\unittest\case.py", line 883, in assertAlmostEqual diff = abs(first - second) TypeError: unsupported operand type(s) for -: 'Quantity' and 'Quantity' ====================================================================== ERROR: test_sensitivities (gpkit.tests.t_model.TestGP_mosek_cli) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_model.py", line 167, in test_sensitivities m = Model(61.3e6*units.USD*(mtow/(1e5*units.lbf))**0.807, File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 37, in __call__ self.monomial_cache[unity] = Monomial(qty(unity)) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 57, in __init__ super().__init__(hmap) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\data.py", line 25, in __init__ self.any_nonpositive_cs = any(c <= 0 for c in self.hmap.values()) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\data.py", line 25, in <genexpr> self.any_nonpositive_cs = any(c <= 0 for c in self.hmap.values()) TypeError: '<=' not supported between instances of 'Quantity' and 'int' ====================================================================== ERROR: test_sigeq (gpkit.tests.t_model.TestGP_mosek_cli) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_model.py", line 66, in test_sigeq self.assertAlmostEqual(sol("x"), 0.1639472, self.ndig) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\unittest\case.py", line 883, in assertAlmostEqual diff = abs(first - second) TypeError: unsupported operand type(s) for -: 'Quantity' and 'float' ====================================================================== ERROR: test_simple_united_gp (gpkit.tests.t_model.TestGP_mosek_cli) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_model.py", line 132, in test_simple_united_gp prob = Model(1/R, File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 320, in __rtruediv__ out = other * self**-1 File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 331, in __pow__ hmap.units = self.hmap.units**expo TypeError: unsupported operand type(s) for ** or pow(): 'Quantity' and 'int' ====================================================================== ERROR: test_trivial_gp (gpkit.tests.t_model.TestGP_mosek_cli) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_model.py", line 50, in test_trivial_gp self.assertAlmostEqual(sol("x"), np.sqrt(2.), self.ndig) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\unittest\case.py", line 883, in assertAlmostEqual diff = abs(first - second) TypeError: unsupported operand type(s) for -: 'Quantity' and 'float' ====================================================================== ERROR: test_trivial_vector_gp (gpkit.tests.t_model.TestGP_mosek_cli) Create and solve a trivial GP with VectorVariables ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_model.py", line 151, in test_trivial_vector_gp self.assertEqual(sol("x").shape, (2,)) AttributeError: 'Quantity' object has no attribute 'shape' ====================================================================== ERROR: test_zeroing (gpkit.tests.t_model.TestGP_mosek_cli) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_model.py", line 215, in test_zeroing self.assertAlmostEqual(sol(L), 10, self.ndig) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\unittest\case.py", line 883, in assertAlmostEqual diff = abs(first - second) TypeError: unsupported operand type(s) for -: 'Quantity' and 'int' ====================================================================== ERROR: test_initially_infeasible (gpkit.tests.t_model.TestSP_mosek_cli) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_model.py", line 376, in test_initially_infeasible self.assertAlmostEqual(sol(y), 0.5, self.ndig) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\unittest\case.py", line 883, in assertAlmostEqual diff = abs(first - second) TypeError: unsupported operand type(s) for -: 'Quantity' and 'float' ====================================================================== ERROR: test_small_named_signomial (gpkit.tests.t_model.TestSP_mosek_cli) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_model.py", line 583, in test_small_named_signomial self.assertAlmostEqual(sol("x"), 0.98725425, self.ndig) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\unittest\case.py", line 883, in assertAlmostEqual diff = abs(first - second) TypeError: unsupported operand type(s) for -: 'Quantity' and 'float' ====================================================================== ERROR: test_sp_initial_guess_sub (gpkit.tests.t_model.TestSP_mosek_cli) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_model.py", line 553, in test_sp_initial_guess_sub self.assertAlmostEqual(sol(x), 2, self.ndig) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\unittest\case.py", line 883, in assertAlmostEqual diff = abs(first - second) TypeError: unsupported operand type(s) for -: 'Quantity' and 'int' ====================================================================== ERROR: test_sp_relaxation (gpkit.tests.t_model.TestSP_mosek_cli) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_model.py", line 295, in test_sp_relaxation m.debug(verbosity=0, solver=self.solver) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\constraints\model.py", line 199, in debug min_return=0 if sol["boundedness"] else 1) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\constraints\model.py", line 251, in get_relaxed sortrelaxed = sorted(zip(relaxvals, mapped_list), key=lambda x: -x[0]) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\constraints\model.py", line 251, in <lambda> sortrelaxed = sorted(zip(relaxvals, mapped_list), key=lambda x: -x[0]) TypeError: bad operand type for unary -: 'Quantity' ====================================================================== ERROR: test_call (gpkit.tests.t_solution_array.TestSolutionArray) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_solution_array.py", line 18, in test_call self.assertAlmostEqual(sol(A), 1.0, 8) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\unittest\case.py", line 883, in assertAlmostEqual diff = abs(first - second) TypeError: unsupported operand type(s) for -: 'Quantity' and 'float' ====================================================================== ERROR: test_call_units (gpkit.tests.t_solution_array.TestSolutionArray) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 48, in of_division return self.division_cache[key] KeyError: (1792018439368, 1792018070920) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_solution_array.py", line 24, in test_call_units m = Model(y, [y >= x]) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 350, in __ge__ return PosynomialInequality(self, ">=", other) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 418, in __init__ self.unsubbed = self._gen_unsubbed(self.p_lt, self.m_gt) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 465, in _gen_unsubbed m_c *= units.of_division(m_gt, p_lt) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 51, in of_division conversion = numerator.units/denominator.units TypeError: unsupported operand type(s) for /: 'Quantity' and 'Quantity' ====================================================================== ERROR: test_call_vector (gpkit.tests.t_solution_array.TestSolutionArray) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_solution_array.py", line 37, in test_call_vector self.assertEqual(solx.shape, (n,)) AttributeError: 'Quantity' object has no attribute 'shape' ====================================================================== ERROR: test_subinto (gpkit.tests.t_solution_array.TestSolutionArray) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_solution_array.py", line 49, in test_subinto m = Model(12/(W*H**3), File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 331, in __pow__ hmap.units = self.hmap.units**expo TypeError: unsupported operand type(s) for ** or pow(): 'Quantity' and 'int' ====================================================================== ERROR: test_units_sub (gpkit.tests.t_solution_array.TestSolutionArray) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_solution_array.py", line 73, in test_units_sub tminsub = 1000 * gpkit.ureg.lbf AttributeError: 'NoneType' object has no attribute 'lbf' ====================================================================== ERROR: test_result_access (gpkit.tests.t_solution_array.TestResultsTable) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_solution_array.py", line 119, in test_result_access self.assertAlmostEqual(sol("x")/3.0, 1.0, 3) TypeError: unsupported operand type(s) for /: 'Quantity' and 'float' ====================================================================== ERROR: test_pint_366 (gpkit.tests.t_small.TestSmallScripts) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_small.py", line 71, in test_pint_366 self.assertIn(unitstr(gpkit.units("nautical_mile")), File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 37, in __call__ self.monomial_cache[unity] = Monomial(qty(unity)) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 57, in __init__ super().__init__(hmap) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\data.py", line 25, in __init__ self.any_nonpositive_cs = any(c <= 0 for c in self.hmap.values()) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\data.py", line 25, in <genexpr> self.any_nonpositive_cs = any(c <= 0 for c in self.hmap.values()) TypeError: '<=' not supported between instances of 'Quantity' and 'int' ====================================================================== ERROR: test_unitstr (gpkit.tests.t_small.TestSmallScripts) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_small.py", line 62, in test_unitstr self.assertEqual(unitstr(gpkit.Variable("n", "count")), "count") File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\repr_conventions.py", line 35, in unitstr if options == ":~" and "ohm" in str(units.units): AttributeError: 'Quantity' object has no attribute 'units' ====================================================================== ERROR: test_autosweep_mosek_cli (gpkit.tests.t_examples.TestExamples) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 59, in test testfn(name, import_dict, path)(self) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 94, in test imported[name] = importlib.import_module(name) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\docs\source\examples\autosweep.py", line 12, in <module> m1 = Model(A**2, [A >= l**2 + units.m**2]) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 331, in __pow__ hmap.units = self.hmap.units**expo TypeError: unsupported operand type(s) for ** or pow(): 'Quantity' and 'int' ====================================================================== ERROR: test_beam_mosek_cli (gpkit.tests.t_examples.TestExamples) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 48, in of_division return self.division_cache[key] KeyError: (140706465201376, 1792018439368) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 59, in test testfn(name, import_dict, path)(self) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 94, in test imported[name] = importlib.import_module(name) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\docs\source\examples\beam.py", line 69, in <module> b = Beam(N=6, substitutions={"L": 6, "EI": 1.1e4, "q": 110*np.ones(6)}) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\constraints\model.py", line 54, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\docs\source\examples\beam.py", line 47, in setup "definition of dx": L == (N-1)*dx, File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 342, in __eq__ return MonomialEquality(self, other) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 515, in __init__ self.unsubbed = self._gen_unsubbed(self.left, self.right) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 535, in _gen_unsubbed l_over_r = unsubbed(self, left, right) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 465, in _gen_unsubbed m_c *= units.of_division(m_gt, p_lt) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 53, in of_division conversion = numerator.units or 1/denominator.units TypeError: unsupported operand type(s) for /: 'int' and 'Quantity' ====================================================================== ERROR: test_debug_mosek_cli (gpkit.tests.t_examples.TestExamples) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 59, in test testfn(name, import_dict, path)(self) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 94, in test imported[name] = importlib.import_module(name) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\docs\source\examples\debug.py", line 9, in <module> m = Model(x/y, [x <= x_max, x >= x_min]) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 238, in __truediv__ return other.__rtruediv__(self) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 320, in __rtruediv__ out = other * self**-1 File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 331, in __pow__ hmap.units = self.hmap.units**expo TypeError: unsupported operand type(s) for ** or pow(): 'Quantity' and 'int' ====================================================================== ERROR: test_docstringparsing_mosek_cli (gpkit.tests.t_examples.TestExamples) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 48, in of_division return self.division_cache[key] KeyError: (1792019511304, 140706465201376) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 55, in of_division self.division_cache[key] = float(conversion) TypeError: float() argument must be a string or a number, not 'Quantity' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 59, in test testfn(name, import_dict, path)(self) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 94, in test imported[name] = importlib.import_module(name) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\docs\source\examples\docstringparsing.py", line 46, in <module> c = Cube() File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\constraints\model.py", line 54, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\docs\source\examples\docstringparsing.py", line 40, in setup return [A >= 2*(s[0]*s[1] + s[1]*s[2] + s[2]*s[0]), File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 350, in __ge__ return PosynomialInequality(self, ">=", other) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 418, in __init__ self.unsubbed = self._gen_unsubbed(self.p_lt, self.m_gt) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 465, in _gen_unsubbed m_c *= units.of_division(m_gt, p_lt) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 56, in of_division except DimensionalityError: TypeError: catching classes that do not inherit from BaseException is not allowed ====================================================================== ERROR: test_model_var_access_mosek_cli (gpkit.tests.t_examples.TestExamples) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 48, in of_division return self.division_cache[key] KeyError: (140706465201376, 1792018041928) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 59, in test testfn(name, import_dict, path)(self) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 94, in test imported[name] = importlib.import_module(name) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\docs\source\examples\model_var_access.py", line 65, in <module> PS = PowerSystem() File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\constraints\model.py", line 54, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\docs\source\examples\model_var_access.py", line 56, in setup battery, motor = Battery(), Motor() File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\constraints\model.py", line 54, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\docs\source\examples\model_var_access.py", line 21, in setup return [E <= m*h] File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 278, in __le__ return PosynomialInequality(self, "<=", other) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 418, in __init__ self.unsubbed = self._gen_unsubbed(self.p_lt, self.m_gt) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 465, in _gen_unsubbed m_c *= units.of_division(m_gt, p_lt) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 53, in of_division conversion = numerator.units or 1/denominator.units TypeError: unsupported operand type(s) for /: 'int' and 'Quantity' ====================================================================== ERROR: test_performance_modeling_mosek_cli (gpkit.tests.t_examples.TestExamples) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 48, in of_division return self.division_cache[key] KeyError: (1792014351624, 140706465201376) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 55, in of_division self.division_cache[key] = float(conversion) TypeError: float() argument must be a string or a number, not 'Quantity' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 59, in test testfn(name, import_dict, path)(self) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 94, in test imported[name] = importlib.import_module(name) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\docs\source\examples\performance_modeling.py", line 233, in <module> AC = Aircraft() File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\constraints\model.py", line 54, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\docs\source\examples\performance_modeling.py", line 68, in setup self.wing = Wing() File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\constraints\model.py", line 54, in __init__ cs = self.setup(*args, **kwargs) # pylint: disable=no-member File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\docs\source\examples\performance_modeling.py", line 212, in setup W >= S*rho, File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 350, in __ge__ return PosynomialInequality(self, ">=", other) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 418, in __init__ self.unsubbed = self._gen_unsubbed(self.p_lt, self.m_gt) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 465, in _gen_unsubbed m_c *= units.of_division(m_gt, p_lt) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 56, in of_division except DimensionalityError: TypeError: catching classes that do not inherit from BaseException is not allowed ====================================================================== ERROR: test_simple_box_mosek_cli (gpkit.tests.t_examples.TestExamples) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 48, in of_division return self.division_cache[key] KeyError: (1792019511304, 140706465201376) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 55, in of_division self.division_cache[key] = float(conversion) TypeError: float() argument must be a string or a number, not 'Quantity' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 59, in test testfn(name, import_dict, path)(self) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 94, in test imported[name] = importlib.import_module(name) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\docs\source\examples\simple_box.py", line 18, in <module> constraints = [A_wall >= 2*h*w + 2*h*d, File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 350, in __ge__ return PosynomialInequality(self, ">=", other) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 418, in __init__ self.unsubbed = self._gen_unsubbed(self.p_lt, self.m_gt) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 465, in _gen_unsubbed m_c *= units.of_division(m_gt, p_lt) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 56, in of_division except DimensionalityError: TypeError: catching classes that do not inherit from BaseException is not allowed ====================================================================== ERROR: test_simple_sp_mosek_cli (gpkit.tests.t_examples.TestExamples) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 59, in test testfn(name, import_dict, path)(self) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 94, in test imported[name] = importlib.import_module(name) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\docs\source\examples\simple_sp.py", line 15, in <module> assert abs(m.solution(x) - 0.9) < 1e-6 TypeError: unsupported operand type(s) for -: 'Quantity' and 'float' ====================================================================== ERROR: test_simpleflight_mosek_cli (gpkit.tests.t_examples.TestExamples) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 59, in test testfn(name, import_dict, path)(self) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 94, in test imported[name] = importlib.import_module(name) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\docs\source\examples\simpleflight.py", line 40, in <module> C_D_fuse = CDA0/S File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 238, in __truediv__ return other.__rtruediv__(self) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 320, in __rtruediv__ out = other * self**-1 File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 331, in __pow__ hmap.units = self.hmap.units**expo TypeError: unsupported operand type(s) for ** or pow(): 'Quantity' and 'int' ====================================================================== ERROR: test_sp_to_gp_sweep_mosek_cli (gpkit.tests.t_examples.TestExamples) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\map.py", line 59, in __add__ other *= float(other.units/self.units) TypeError: unsupported operand type(s) for /: 'NoneType' and 'Quantity' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 59, in test testfn(name, import_dict, path)(self) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 94, in test imported[name] = importlib.import_module(name) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\docs\source\examples\sp_to_gp_sweep.py", line 103, in <module> sa = SimPleAC() File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\docs\source\examples\sp_to_gp_sweep.py", line 65, in SimPleAC W_0 + W_w + 0.5 * W_f <= 0.5 * rho * S * C_L * V ** 2, File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 194, in __add__ out = Signomial(self.hmap + other_hmap) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\map.py", line 61, in __add__ raise DimensionalityError(self.units, other.units) TypeError: 'NoneType' object is not callable ====================================================================== ERROR: test_water_tank_mosek_cli (gpkit.tests.t_examples.TestExamples) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 48, in of_division return self.division_cache[key] KeyError: (1792020456456, 1792019998024) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 59, in test testfn(name, import_dict, path)(self) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\helpers.py", line 94, in test imported[name] = importlib.import_module(name) File "c:\users\jenkins\appdata\local\programs\python\python37\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\docs\source\examples\water_tank.py", line 11, in <module> bad_monomial_equality = (M == V) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 342, in __eq__ return MonomialEquality(self, other) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 515, in __init__ self.unsubbed = self._gen_unsubbed(self.left, self.right) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 535, in _gen_unsubbed l_over_r = unsubbed(self, left, right) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 465, in _gen_unsubbed m_c *= units.of_division(m_gt, p_lt) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 51, in of_division conversion = numerator.units/denominator.units TypeError: unsupported operand type(s) for /: 'Quantity' and 'Quantity' ====================================================================== ERROR: test_vector (gpkit.tests.t_keydict.TestKeyDict) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_keydict.py", line 58, in test_vector kd[v[0]] = gpkit.units("inch") File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\units.py", line 37, in __call__ self.monomial_cache[unity] = Monomial(qty(unity)) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\math.py", line 57, in __init__ super().__init__(hmap) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\data.py", line 25, in __init__ self.any_nonpositive_cs = any(c <= 0 for c in self.hmap.values()) File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\nomials\data.py", line 25, in <genexpr> self.any_nonpositive_cs = any(c <= 0 for c in self.hmap.values()) TypeError: '<=' not supported between instances of 'Quantity' and 'int' ====================================================================== FAIL: test_unit_parsing (gpkit.tests.t_vars.TestVariable) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_vars.py", line 180, in test_unit_parsing self.assertEqual(x.units, y.units) AssertionError: <gpkit.units.Quantity object at 0x000001A13CA15E88> != <gpkit.units.Quantity object at 0x000001A13CA15DC8> ====================================================================== FAIL: test_sub_tol (gpkit.tests.t_constraints.TestConstraint) Test PosyIneq feasibility tolerance under substitutions ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_constraints.py", line 136, in test_sub_tol self.assertEqual(m.substitutions('x'), m.solve(verbosity=0)('x')) AssertionError: <gpkit.units.Quantity object at 0x000001A13CAFBC08> != <gpkit.units.Quantity object at 0x000001A13CAFB888> ====================================================================== FAIL: test_key_options (gpkit.tests.t_solution_array.TestSolutionArray) ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit\gpkit\tests\t_solution_array.py", line 90, in test_key_options self.assertEqual(msol(x), msol("x")) AssertionError: <gpkit.units.Quantity object at 0x000001A13CB721C8> != <gpkit.units.Quantity object at 0x000001A13C9F5A88> ---------------------------------------------------------------------- Ran 184 tests in 52.749s FAILED (failures=3, errors=55) Found no installed solvers, beginning a build. # Moving to the directory from which GPkit was imported. Started building gpkit... Attempting to find and build solvers: # # Looking for mosek_cli # Trying to run mskexpopt... # Calling 'mskexpopt' ## ### CALL BEGINS ### CALL ENDS ## # Found mosek_cli in system path # # # Looking for mosek_conif # Trying to import mosek... # Did not find # mosek_conif # # Looking for cvxopt # Trying to import cvxopt... # Did not find # cvxopt ...finished building gpkit. Replaced found solvers (['mosek_cli']) with environment var GPKITSOLVERS (mosek_cli) Found the following solvers: mosek_cli # Replacing directory env GPkit is now installed with solver(s) ['mosek_cli'] To incorporate new solvers at a later date, run `gpkit.build()`. If any tests didn't pass, please post the output above (starting from "Found no installed solvers, beginning a build.") to gpkit@mit.edu or https://github.com/convexengineering/gpkit/issues/new so we can prevent others from having these errors. The same goes for any other bugs you encounter with GPkit: send 'em our way, along with any interesting models, speculative features, comments, discussions, or clarifications you feel like sharing. Finally, we hope you find our documentation (https://gpkit.readthedocs.io/) and engineering-design models (https://github.com/convexengineering/gplibrary/) to be useful resources for your own applications. Enjoy! 1.0.0pre C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>REM Limit number of threads that be can used C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>set MSK_IPAR_NUM_THREADS=2 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>set MKL_NUM_THREADS=2 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>set NUMEXPR_NUM_THREADS=2 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>set OPENBLAS_NUM_THREADS=2 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>set OMP_NUM_THREADS=2 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>python -c "from gpkit.tests.test_repo import test_repo; test_repo(xmloutput=True)" || exit /b 666 Requirement already satisfied: pandas in c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\venv_gpkit\lib\site-packages (1.0.3) Requirement already satisfied: numpy>=1.13.3 in c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\venv_gpkit\lib\site-packages (from pandas) (1.18.3) Requirement already satisfied: pytz>=2017.2 in c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\venv_gpkit\lib\site-packages (from pandas) (2019.3) Requirement already satisfied: python-dateutil>=2.6.1 in c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\venv_gpkit\lib\site-packages (from pandas) (2.8.1) Requirement already satisfied: six>=1.5 in c:\users\jenkins\appdata\local\programs\python\python37\lib\site-packages (from python-dateutil>=2.6.1->pandas) (1.14.0) Collecting git+https://github.com/hoburg/gpfit.git Cloning https://github.com/hoburg/gpfit.git to c:\users\jenkins\appdata\local\temp\pip-req-build-_6pgqfah Running command git clone -q https://github.com/hoburg/gpfit.git 'C:\Users\jenkins\AppData\Local\Temp\pip-req-build-_6pgqfah' Requirement already satisfied: numpy in c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\venv_gpkit\lib\site-packages (from gpfit==0.1) (1.18.3) Requirement already satisfied: scipy in c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\venv_gpkit\lib\site-packages (from gpfit==0.1) (1.4.1) Requirement already satisfied: gpkit in c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\gpkit (from gpfit==0.1) (1.0.0) Collecting pint<0.10,>=0.8.1 Using cached Pint-0.9-py2.py3-none-any.whl (138 kB) Requirement already satisfied: ad in c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\venv_gpkit\lib\site-packages (from gpkit->gpfit==0.1) (1.3.2) Collecting cvxopt>=1.1.8 Using cached cvxopt-1.2.5-cp37-cp37m-win_amd64.whl (822 kB) Collecting mkl Using cached mkl-2019.0-py2.py3-none-win_amd64.whl (224.1 MB) Collecting intel-openmp Using cached intel_openmp-2019.0-py2.py3-none-win_amd64.whl (1.9 MB) Building wheels for collected packages: gpfit Building wheel for gpfit (setup.py): started Building wheel for gpfit (setup.py): finished with status 'done' Created wheel for gpfit: filename=gpfit-0.1-py3-none-any.whl size=25631 sha256=d7573daec5b4155ee151a9e4687958ca9b980b53d46966f2ed5eb725440ad13d Stored in directory: C:\Users\jenkins\AppData\Local\Temp\pip-ephem-wheel-cache-kfmissim\wheels\57\29\3e\8d7ba8db76ea975ecfe679ec45f25d64a6eaec893d16b3d378 Successfully built gpfit Installing collected packages: gpfit, pint, intel-openmp, mkl, cvxopt Successfully installed cvxopt-1.2.5 gpfit-0.1 intel-openmp-2019.0 mkl-2019.0 pint-0.9 Processing c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek Requirement already satisfied: numpy>=1.12 in c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\venv_gpkit\lib\site-packages (from gpkitmodels==0.0.0.0) (1.18.3) Requirement already satisfied: scipy in c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\venv_gpkit\lib\site-packages (from gpkitmodels==0.0.0.0) (1.4.1) Requirement already satisfied: pint in c:\users\jenkins\workspace\ce_rm_gplibrary_pr\mosek\venv_gpkit\lib\site-packages (from gpkitmodels==0.0.0.0) (0.9) Processing c:\users\jenkins\appdata\local\pip\cache\wheels\56\b0\fe\4410d17b32f1f0c3cf54cdfb2bc04d7b4b8f4ae377e2229ba0\future-0.18.2-py3-none-any.whl Building wheels for collected packages: gpkitmodels Building wheel for gpkitmodels (setup.py): started Building wheel for gpkitmodels (setup.py): finished with status 'done' Created wheel for gpkitmodels: filename=gpkitmodels-0.0.0.0-py3-none-any.whl size=66721 sha256=84406c1c36748026a9ea764531c675f15f5491a7045c850ad245fa99aaa88c1f Stored in directory: C:\Users\jenkins\AppData\Local\Temp\pip-ephem-wheel-cache-wix7xsmr\wheels\6f\de\3f\ea67572ef86580b4a77694536998ab8386e804429a0565ac1e Successfully built gpkitmodels Installing collected packages: future, gpkitmodels Successfully installed future-0.18.2 gpkitmodels-0.0.0.0 adding test for 'gpkitmodels/GP/aircraft/wing/wing_test.py' adding test for 'gpkitmodels/GP/aircraft/tail/tail_tests.py' adding test for 'gpkitmodels/GP/aircraft/fuselage/test_fuselage.py' adding test for 'gpkitmodels/GP/aircraft/prop/prop_test.py' adding test for 'gpkitmodels/GP/aircraft/motor/motor_test.py' adding test for 'gpkitmodels/SP/SimPleAC/SimPleAC.py' adding test for 'gpkitmodels/SP/SimPleAC/SimPleAC_mission.py' adding test for 'gpkitmodels/SP/SimPleAC/SimPleAC_multimission.py' Running tests... ---------------------------------------------------------------------- Using solver 'mosek_cli' for 11 free variables in 14 posynomial inequalities. Solving took 0.257 seconds. .Using solver 'mosek_cli' for 9 free variables in 15 posynomial inequalities. Solving took 0.136 seconds. Using solver 'mosek_cli' for 25 free variables in 35 posynomial inequalities. Solving took 0.184 seconds. Using solver 'mosek_cli' for 25 free variables in 35 posynomial inequalities. Solving took 0.194 seconds. Starting a sequence of GP solves for 53 free variables in 11 locally-GP constraints and for 129 free variables in 211 posynomial inequalities. Solving took 4.46 seconds and 16 GP solves. C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek\venv_gpkit\lib\site-packages\pint\quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped. warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning) .Using solver 'mosek_cli' for 13 free variables in 16 posynomial inequalities. Solving took 0.177 seconds. Starting a sequence of GP solves for 53 free variables in 11 locally-GP constraints and for 117 free variables in 190 posynomial inequalities. Solving took 3 seconds and 11 GP solves. Warning: Variable BladeElementProp.BladeElementPerf.cl[:] could cause inaccurate result because it is below lower bound. Solution is 0.6000 but bound is 0.4742 Warning: Variable BladeElementProp.BladeElementPerf.Re[:] could cause inaccurate result because it is above upper bound. Solution is 1619891.9379 but bound is 700000.0000 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek\venv_gpkit\lib\site-packages\pint\quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped. warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning) .Warning: Variable TailAero.Re could cause inaccurate result because it is above upper bound. Solution is 2220959.7939 but bound is 1000000.0000 Warning: Variable TailAero1.Re could cause inaccurate result because it is above upper bound. Solution is 2499796.7837 but bound is 1000000.0000 Warning: Variable TailAero2.Re could cause inaccurate result because it is above upper bound. Solution is 2223871.1577 but bound is 1000000.0000 Warning: Variable TailAero3.Re could cause inaccurate result because it is above upper bound. Solution is 2223871.1577 but bound is 1000000.0000 Warning: Variable TailAero4.Re could cause inaccurate result because it is above upper bound. Solution is 1853896.1324 but bound is 1000000.0000 Warning: Variable TailAero5.Re could cause inaccurate result because it is above upper bound. Solution is 1853896.1324 but bound is 1000000.0000 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek\venv_gpkit\lib\site-packages\pint\quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped. warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning) C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek\venv_gpkit\lib\site-packages\pint\quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped. warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning) C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek\venv_gpkit\lib\site-packages\pint\quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped. warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning) C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek\venv_gpkit\lib\site-packages\pint\quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped. warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning) .Warning: Variable WingAero.Re could cause inaccurate result because it is above upper bound. Solution is 1884889.9591 but bound is 700000.0000 Warning: Variable WingAero1.Re could cause inaccurate result because it is above upper bound. Solution is 1910412.9866 but bound is 700000.0000 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek\venv_gpkit\lib\site-packages\pint\quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped. warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning) C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek\venv_gpkit\lib\site-packages\pint\quantity.py:1377: UnitStrippedWarning: The unit of the quantity is stripped. warnings.warn("The unit of the quantity is stripped.", UnitStrippedWarning) ..SGP not convergent: Cost rose by 6.1% on GP solve 2. Details can be found in `m.program.results` or by solving at a higher verbosity. Note that convergence is not guaranteed for models with SignomialEqualities. SGP not convergent: Cost rose by 25% on GP solve 2. Details can be found in `m.program.results` or by solving at a higher verbosity. Note that convergence is not guaranteed for models with SignomialEqualities. SGP not convergent: Cost rose by 0.32% on GP solve 4. Details can be found in `m.program.results` or by solving at a higher verbosity. Note that convergence is not guaranteed for models with SignomialEqualities. .Starting a sequence of GP solves for 4 free variables in 1 locally-GP constraints and for 21 free variables in 22 posynomial inequalities. GP Solve 1 Using solver 'mosek_cli' for 21 free variables in 22 posynomial inequalities. Solving took 0.159 seconds. Solved cost was 5717. GP Solve 2 Using solver 'mosek_cli' for 21 free variables in 22 posynomial inequalities. Solving took 0.24 seconds. Solved cost was 4538. GP Solve 3 Using solver 'mosek_cli' for 21 free variables in 22 posynomial inequalities. Solving took 0.227 seconds. Solved cost was 4536. GP Solve 4 Using solver 'mosek_cli' for 21 free variables in 22 posynomial inequalities. Solving took 0.192 seconds. Solved cost was 4536. Solving took 0.829 seconds and 4 GP solves. . ---------------------------------------------------------------------- Ran 8 tests in 16.797s OK Generating XML reports... SETTINGS defaultdict(<class 'str'>, {'pip install': 'pandas, git+https://github.com/hoburg/gpfit.git'}) calling ['pip', 'install', 'pandas'] attempt 1 calling ['pip', 'install', 'git+https://github.com/hoburg/gpfit.git'] attempt 1 calling ['pip', 'install', '.'] attempt 1 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>REM echo "from gpkit.tests.test_repo import test_repo; test_repo(xmloutput=True)" > jenkins_test.py || exit /b 666 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>REM coverage run --append --source=. jenkins_test.py || exit /b 666 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>REM coverage html -d htmlcov --omit=gpkit/*,gpkit-models/*,venv2_gpkit/*,jenkins_test.py || exit /b 666 C:\Users\jenkins\workspace\CE_RM_gplibrary_PR\mosek>exit 0 Recording test results [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] done Finished: SUCCESS