Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 161.4 kB / 23.82 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9791/0.9791, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.776/1.776, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wetBulPhi.TWetBul|wetBulPhiApp.TWetBul",fileNamePrefix="Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.246e-05, allocations: 8.922 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002473/0.002505, allocations: 1.951 MB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1298/0.1323, allocations: 147.6 MB / 0.9331 GB, free: 6.43 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.1325, allocations: 4 kB / 0.9332 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.1327, allocations: 31.66 kB / 0.9332 GB, free: 6.395 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.1331, allocations: 79.36 kB / 0.9333 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006473/0.1337, allocations: 271 kB / 0.9335 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.1339, allocations: 275 kB / 0.9338 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001542/0.1341, allocations: 42.62 kB / 0.9338 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.1351, allocations: 360.2 kB / 0.9342 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.1352, allocations: 75.77 kB / 0.9342 GB, free: 5.391 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.1353, allocations: 16 kB / 0.9343 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.1355, allocations: 183.5 kB / 0.9344 GB, free: 5.195 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 6.317e-05/0.1356, allocations: 43.81 kB / 0.9345 GB, free: 5.152 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 6.896e-05/0.1357, allocations: 71.88 kB / 0.9345 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0004152/0.1361, allocations: 267.1 kB / 0.9348 GB, free: 4.82 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1361, allocations: 0 / 0.9348 GB, free: 4.82 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1361, allocations: 0 / 0.9348 GB, free: 4.82 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.1361, allocations: 0 / 0.9348 GB, free: 4.82 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006662/0.1368, allocations: 0.5583 MB / 0.9353 GB, free: 4.227 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1368, allocations: 8.031 kB / 0.9353 GB, free: 4.219 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006563/0.1375, allocations: 147.6 kB / 0.9355 GB, free: 4.074 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.1377, allocations: 183.7 kB / 0.9357 GB, free: 3.867 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.659e-05/0.1377, allocations: 63.73 kB / 0.9357 GB, free: 3.793 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.1378, allocations: 16 kB / 0.9357 GB, free: 3.777 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.1381, allocations: 317.3 kB / 0.936 GB, free: 3.414 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1381, allocations: 3.938 kB / 0.936 GB, free: 3.41 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.1382, allocations: 8 kB / 0.9361 GB, free: 3.402 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.1382, allocations: 7.938 kB / 0.9361 GB, free: 3.395 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.1383, allocations: 95.86 kB / 0.9361 GB, free: 3.301 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.1394, allocations: 1.417 MB / 0.9375 GB, free: 1.812 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.1398, allocations: 163.1 kB / 0.9377 GB, free: 1.641 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.452e-05/0.1398, allocations: 39.67 kB / 0.9377 GB, free: 1.598 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.1399, allocations: 4 kB / 0.9377 GB, free: 1.594 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.1399, allocations: 45.38 kB / 0.9378 GB, free: 1.539 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.1399, allocations: 0 / 0.9378 GB, free: 1.539 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12): time 0.001216/0.1411, allocations: 400.8 kB / 0.9382 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.1411, allocations: 59.34 kB / 0.9382 GB, free: 1.062 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.1413, allocations: 234.6 kB / 0.9384 GB, free: 0.8164 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1413, allocations: 25.7 kB / 0.9385 GB, free: 0.7852 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.8e-05/0.1414, allocations: 186.9 kB / 0.9386 GB, free: 0.5977 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.1414, allocations: 43.64 kB / 0.9387 GB, free: 0.5547 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-05/0.1415, allocations: 55.3 kB / 0.9387 GB, free: 0.4922 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1416, allocations: 0.4923 MB / 0.9392 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.04e-05/0.1417, allocations: 39.97 kB / 0.9393 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.1418, allocations: 148.9 kB / 0.9394 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.142, allocations: 149.4 kB / 0.9395 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.142, allocations: 0 / 0.9395 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006534/0.1426, allocations: 306.1 kB / 0.9398 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1427, allocations: 4 kB / 0.9398 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1427, allocations: 4 kB / 0.9398 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008446/0.1435, allocations: 247.3 kB / 0.9401 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1436, allocations: 35.91 kB / 0.9401 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/0.1464, allocations: 3.807 MB / 0.9438 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.1465, allocations: 23.77 kB / 0.9438 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.1465, allocations: 15.98 kB / 0.9439 GB, free: 10.88 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.1466, allocations: 164.8 kB / 0.944 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.1467, allocations: 23.89 kB / 0.944 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006/0.1473, allocations: 304.7 kB / 0.9443 GB, free: 10.37 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1473, allocations: 0 / 0.9443 GB, free: 10.37 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.1473, allocations: 4 kB / 0.9443 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1473, allocations: 3.984 kB / 0.9443 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.1475, allocations: 192.4 kB / 0.9445 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1475, allocations: 3.938 kB / 0.9445 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.1475, allocations: 19.98 kB / 0.9445 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006398/0.1482, allocations: 223.1 kB / 0.9448 GB, free: 9.887 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1482, allocations: 0 / 0.9448 GB, free: 9.887 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/0.1505, allocations: 3.835 MB / 0.9485 GB, free: 5.797 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1505, allocations: 4 kB / 0.9485 GB, free: 5.793 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005838/0.1511, allocations: 414.8 kB / 0.9489 GB, free: 5.359 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.1512, allocations: 35.83 kB / 0.9489 GB, free: 5.324 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.1512, allocations: 4 kB / 0.9489 GB, free: 5.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.1513, allocations: 15.92 kB / 0.949 GB, free: 5.305 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.1514, allocations: 23.91 kB / 0.949 GB, free: 5.281 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.1514, allocations: 7.984 kB / 0.949 GB, free: 5.273 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 8.143e-05/0.1514, allocations: 164.7 kB / 0.9491 GB, free: 5.113 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1514, allocations: 0 / 0.9491 GB, free: 5.113 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003101/0.1518, allocations: 79.89 kB / 0.9492 GB, free: 5.035 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001809/0.1519, allocations: 119.2 kB / 0.9493 GB, free: 4.906 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005583/0.1525, allocations: 499 kB / 0.9498 GB, free: 4.379 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1525, allocations: 448 / 0.9498 GB, free: 4.379 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003218/0.1528, allocations: 449.5 kB / 0.9502 GB, free: 3.902 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.1531, allocations: 59.94 kB / 0.9503 GB, free: 3.844 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009349/0.154, allocations: 418.8 kB / 0.9507 GB, free: 3.406 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.11e-05/0.1541, allocations: 80.31 kB / 0.9508 GB, free: 3.309 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.1542, allocations: 29.56 kB / 0.9508 GB, free: 3.277 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.1542, allocations: 28.48 kB / 0.9508 GB, free: 3.25 MB / 0.9011 GB Notification: Performance of SimCode: time 8.72e-07/0.1542, allocations: 0 / 0.9508 GB, free: 3.25 MB / 0.9011 GB Notification: Performance of Templates: time 0.007176/0.1614, allocations: 5.008 MB / 0.9557 GB, free: 14.32 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.519578342791647]