Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.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.001043/0.001043, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001095/0.001095, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 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.9642/0.9642, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.741/1.741, allocations: 359 MB / 0.6055 GB, free: 11.02 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.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.372e-05, allocations: 6.031 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003629/0.003652, allocations: 2.414 MB / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1511/0.1547, allocations: 146.6 MB / 0.9327 GB, free: 7.25 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.1549, allocations: 4 kB / 0.9327 GB, free: 7.246 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.1552, allocations: 91.39 kB / 0.9328 GB, free: 7.156 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0004442/0.1556, allocations: 254.3 kB / 0.933 GB, free: 6.906 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009487/0.1565, allocations: 0.6617 MB / 0.9337 GB, free: 6.242 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.1569, allocations: 442.4 kB / 0.9341 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 9e-05/0.157, allocations: 28.92 kB / 0.9341 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.1572, allocations: 255.4 kB / 0.9343 GB, free: 5.531 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.1574, allocations: 167.6 kB / 0.9345 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.1575, allocations: 32 kB / 0.9345 GB, free: 5.336 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006873/0.1582, allocations: 0.6041 MB / 0.9351 GB, free: 4.73 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 8.004e-05/0.1583, allocations: 87.7 kB / 0.9352 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1584, allocations: 115.7 kB / 0.9353 GB, free: 4.531 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0006444/0.159, allocations: 0.6309 MB / 0.9359 GB, free: 3.898 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.159, allocations: 0 / 0.9359 GB, free: 3.898 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.233e-06/0.159, allocations: 0 / 0.9359 GB, free: 3.898 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.159, allocations: 0 / 0.9359 GB, free: 3.898 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009988/0.16, allocations: 0.8001 MB / 0.9367 GB, free: 3.051 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.16, allocations: 12.03 kB / 0.9367 GB, free: 3.039 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009124/0.161, allocations: 192.5 kB / 0.9369 GB, free: 2.852 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.1613, allocations: 269.3 kB / 0.9372 GB, free: 2.562 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.136e-05/0.1613, allocations: 53.62 kB / 0.9372 GB, free: 2.504 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.348e-05/0.1614, allocations: 20 kB / 0.9372 GB, free: 2.484 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.1616, allocations: 202.9 kB / 0.9374 GB, free: 2.262 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1616, allocations: 0 / 0.9374 GB, free: 2.262 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.1617, allocations: 12 kB / 0.9374 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1617, allocations: 0 / 0.9374 GB, free: 2.25 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.1618, allocations: 99.86 kB / 0.9375 GB, free: 2.148 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.163, allocations: 0.9738 MB / 0.9385 GB, free: 1.129 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.1634, allocations: 144.7 kB / 0.9386 GB, free: 0.9688 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.21e-05/0.1635, allocations: 73.38 kB / 0.9387 GB, free: 0.8867 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.1635, allocations: 7.938 kB / 0.9387 GB, free: 0.8789 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.1637, allocations: 186 kB / 0.9389 GB, free: 0.6719 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.583e-06/0.1637, allocations: 0 / 0.9389 GB, free: 0.6719 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001957/0.1657, allocations: 0.6782 MB / 0.9395 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.1657, allocations: 85.09 kB / 0.9396 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.166, allocations: 354.2 kB / 0.94 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.166, allocations: 33.69 kB / 0.94 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.1661, allocations: 207.7 kB / 0.9402 GB, free: 15.25 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.1662, allocations: 59.48 kB / 0.9403 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.1663, allocations: 91.59 kB / 0.9403 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1664, allocations: 0.5079 MB / 0.9408 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.1665, allocations: 106.2 kB / 0.9409 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.1667, allocations: 276 kB / 0.9412 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.167, allocations: 243.1 kB / 0.9414 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.167, allocations: 0 / 0.9414 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001662/0.1687, allocations: 0.7273 MB / 0.9421 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.1687, allocations: 41.69 kB / 0.9422 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1687, allocations: 0 / 0.9422 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006875/0.1694, allocations: 203.3 kB / 0.9424 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1695, allocations: 35.92 kB / 0.9424 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.1712, allocations: 2.905 MB / 0.9452 GB, free: 9.766 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.1714, allocations: 43.7 kB / 0.9453 GB, free: 9.723 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.1714, allocations: 19.98 kB / 0.9453 GB, free: 9.703 MB / 0.9011 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = true protected = true ) \"Signal, true when component is off\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.eva.off,eva.off,$whenCondition2,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.nextEventScaled,$whenCondition1,int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.1716, allocations: 210.1 kB / 0.9455 GB, free: 9.48 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.1716, allocations: 43.81 kB / 0.9456 GB, free: 9.438 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.1717, allocations: 22.25 kB / 0.9456 GB, free: 9.41 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1717, allocations: 4 kB / 0.9456 GB, free: 9.406 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.1717, allocations: 0 / 0.9456 GB, free: 9.406 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.1717, allocations: 0 / 0.9456 GB, free: 9.406 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.1732, allocations: 0.8982 MB / 0.9465 GB, free: 8.449 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1732, allocations: 3.938 kB / 0.9465 GB, free: 8.445 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.29e-05/0.1732, allocations: 8 kB / 0.9465 GB, free: 8.438 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001248/0.1733, allocations: 79.61 kB / 0.9465 GB, free: 8.355 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.1734, allocations: 4 kB / 0.9465 GB, free: 8.352 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004509/0.1738, allocations: 0.9807 MB / 0.9475 GB, free: 7.344 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1738, allocations: 3.938 kB / 0.9475 GB, free: 7.34 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.1752, allocations: 0.7946 MB / 0.9483 GB, free: 6.504 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/0.1753, allocations: 55.7 kB / 0.9483 GB, free: 6.449 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.1753, allocations: 8 kB / 0.9483 GB, free: 6.441 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.1754, allocations: 15.92 kB / 0.9484 GB, free: 6.426 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.1755, allocations: 11.98 kB / 0.9484 GB, free: 6.414 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.1755, allocations: 7.984 kB / 0.9484 GB, free: 6.406 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001433/0.1756, allocations: 239 kB / 0.9486 GB, free: 6.172 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.1756, allocations: 4 kB / 0.9486 GB, free: 6.168 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003121/0.176, allocations: 115.8 kB / 0.9487 GB, free: 6.055 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (int.y,eva.m) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,mAir_flow.nextEventScaled,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,eva.off) * Number of discrete states: 7 (eva.off,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.nextEventScaled,mAir_flow.b,mAir_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002655/0.1762, allocations: 206.9 kB / 0.9489 GB, free: 5.844 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007437/0.177, allocations: 0.5465 MB / 0.9495 GB, free: 5.246 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.177, allocations: 0 / 0.9495 GB, free: 5.246 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002987/0.1773, allocations: 220.4 kB / 0.9497 GB, free: 5.004 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.1776, allocations: 67 kB / 0.9497 GB, free: 4.941 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.1786, allocations: 0.5771 MB / 0.9503 GB, free: 4.34 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.077e-05/0.1786, allocations: 92.53 kB / 0.9504 GB, free: 4.23 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 7.695e-05/0.1787, allocations: 29.94 kB / 0.9504 GB, free: 4.203 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.1788, allocations: 20.5 kB / 0.9504 GB, free: 4.184 MB / 0.9011 GB Notification: Performance of SimCode: time 1.102e-06/0.1788, allocations: 0 / 0.9504 GB, free: 4.184 MB / 0.9011 GB Notification: Performance of Templates: time 0.009911/0.1887, allocations: 7.775 MB / 0.958 GB, free: 12.52 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.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.2374523871112615]