Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 195 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.913/2.913, allocations: 472.6 MB / 0.7448 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 70.59 kB / 0.9116 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.336, allocations: 159.9 MB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004391/0.3404, allocations: 2.448 MB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1846/0.5251, allocations: 148.8 MB / 1.215 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003459/0.5255, allocations: 0 / 1.215 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005204/0.526, allocations: 83.55 kB / 1.216 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.5271, allocations: 211 kB / 1.216 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002205/0.5293, allocations: 0.6072 MB / 1.216 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0008183/0.5301, allocations: 434.6 kB / 1.217 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.5303, allocations: 52.7 kB / 1.217 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004571/0.5308, allocations: 183.4 kB / 1.217 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005991/0.5314, allocations: 199.3 kB / 1.217 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.5316, allocations: 28 kB / 1.217 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.5334, allocations: 0.6512 MB / 1.218 GB, free: 492 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.5336, allocations: 83.72 kB / 1.218 GB, free: 408 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.5338, allocations: 163.2 kB / 1.218 GB, free: 244 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.5354, allocations: 0.6661 MB / 1.219 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.5354, allocations: 0 / 1.219 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5354, allocations: 0 / 1.219 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.653e-05/0.5354, allocations: 0 / 1.219 GB, free: 15.57 MB / 0.9825 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.002078/0.5375, allocations: 0.7454 MB / 1.219 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.5376, allocations: 8.031 kB / 1.219 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.5394, allocations: 160.4 kB / 1.22 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006196/0.54, allocations: 318.7 kB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.814e-05/0.5401, allocations: 45.7 kB / 1.22 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.536e-05/0.5402, allocations: 20 kB / 1.22 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004893/0.5407, allocations: 208.1 kB / 1.22 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.5407, allocations: 3.938 kB / 1.22 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.5407, allocations: 4 kB / 1.22 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.5408, allocations: 8 kB / 1.22 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.5411, allocations: 120.1 kB / 1.22 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002804/0.5439, allocations: 0.9963 MB / 1.221 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008285/0.5447, allocations: 166.5 kB / 1.221 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.545, allocations: 98.53 kB / 1.221 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.545, allocations: 4 kB / 1.221 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004083/0.5454, allocations: 188.9 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 2.324e-06/0.5454, allocations: 4 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.00451/0.55, allocations: 0.8535 MB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.696e-05/0.55, allocations: 85.09 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/0.5505, allocations: 340.5 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.17e-05/0.5506, allocations: 33.7 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.5507, allocations: 152.5 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.846e-05/0.5508, allocations: 59.23 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.551, allocations: 81.94 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5512, allocations: 342.8 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/0.5515, allocations: 148.5 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004407/0.552, allocations: 217.3 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006702/0.5527, allocations: 340.8 kB / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5527, allocations: 0 / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003825/0.5565, allocations: 0.8612 MB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.551e-05/0.5566, allocations: 37.7 kB / 1.225 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5566, allocations: 4 kB / 1.225 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009427/0.5575, allocations: 197.7 kB / 1.225 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.5578, allocations: 39.92 kB / 1.225 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003474/0.5613, allocations: 2.337 MB / 1.228 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005998/0.5619, allocations: 51.52 kB / 1.228 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/0.562, allocations: 19.97 kB / 1.228 GB, free: 5.816 MB / 0.9825 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.nextEventScaled,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,$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.000351/0.5623, allocations: 188.1 kB / 1.228 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.5624, allocations: 27.72 kB / 1.228 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.268e-05/0.5625, allocations: 27.17 kB / 1.228 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.5625, allocations: 4 kB / 1.228 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.5625, allocations: 0 / 1.228 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5625, allocations: 7.875 kB / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003661/0.5662, allocations: 1.046 MB / 1.229 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.5662, allocations: 0 / 1.229 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.068e-05/0.5663, allocations: 11.94 kB / 1.229 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003521/0.5667, allocations: 112.8 kB / 1.229 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.5667, allocations: 15.92 kB / 1.229 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.5678, allocations: 0.7381 MB / 1.23 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5678, allocations: 0 / 1.23 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003398/0.5712, allocations: 0.8801 MB / 1.231 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.5715, allocations: 140.6 kB / 1.231 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.305e-05/0.5716, allocations: 8 kB / 1.231 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.5719, allocations: 8 kB / 1.231 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.5719, allocations: 19.95 kB / 1.231 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.572, allocations: 4 kB / 1.231 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003655/0.5724, allocations: 243.1 kB / 1.231 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5724, allocations: 0 / 1.231 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008132/0.5732, allocations: 112 kB / 1.231 GB, free: 2.098 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (eva.m,int.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,eva.off,mAir_flow.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,mAir_flow.nextEventScaled) * 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.0004859/0.5737, allocations: 184.5 kB / 1.231 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001818/0.5755, allocations: 0.5725 MB / 1.232 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5755, allocations: 0 / 1.232 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008034/0.5763, allocations: 260.1 kB / 1.232 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/0.577, allocations: 72.84 kB / 1.232 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.5786, allocations: 0.6747 MB / 1.233 GB, free: 272 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.5791, allocations: 0.7599 MB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002138/0.5794, allocations: 26.28 kB / 1.234 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.5795, allocations: 27.42 kB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.5795, allocations: 0 / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of Templates: time 0.01541/0.5949, allocations: 7.174 MB / 1.241 GB, free: 8.328 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches