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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001018/0.001018, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001345/0.001345, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.879/2.879, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003724, allocations: 8.781 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3942/0.3946, allocations: 159.6 MB / 1.058 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.002789/0.3974, allocations: 2.019 MB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1565/0.554, allocations: 137.1 MB / 1.194 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004932/0.5545, allocations: 4 kB / 1.194 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004833/0.555, allocations: 79.61 kB / 1.194 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.5562, allocations: 206.9 kB / 1.194 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.5583, allocations: 0.5087 MB / 1.195 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006107/0.559, allocations: 374.6 kB / 1.195 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.5591, allocations: 44.7 kB / 1.195 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.5594, allocations: 155.5 kB / 1.195 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003717/0.5598, allocations: 179.4 kB / 1.195 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.219e-05/0.5598, allocations: 19.94 kB / 1.195 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.5612, allocations: 0.5031 MB / 1.196 GB, free: 7.664 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.5613, allocations: 63.78 kB / 1.196 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.5614, allocations: 77.52 kB / 1.196 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000758/0.5622, allocations: 466.9 kB / 1.197 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.916e-06/0.5622, allocations: 0 / 1.197 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.256e-06/0.5622, allocations: 0 / 1.197 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.5623, allocations: 0 / 1.197 GB, free: 7.062 MB / 0.9512 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.001873/0.5641, allocations: 0.687 MB / 1.197 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.242e-05/0.5642, allocations: 8.031 kB / 1.197 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.5657, allocations: 159.4 kB / 1.197 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/0.5663, allocations: 310.3 kB / 1.198 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.342e-05/0.5664, allocations: 49.64 kB / 1.198 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-05/0.5664, allocations: 16 kB / 1.198 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/0.5669, allocations: 208.1 kB / 1.198 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.5669, allocations: 0 / 1.198 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.567, allocations: 8 kB / 1.198 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.567, allocations: 7.953 kB / 1.198 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.5673, allocations: 120.1 kB / 1.198 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.5697, allocations: 0.9848 MB / 1.199 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006896/0.5704, allocations: 174.4 kB / 1.199 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.5706, allocations: 103 kB / 1.199 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.5706, allocations: 0 / 1.199 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004394/0.5711, allocations: 193 kB / 1.199 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=19): time 1.733e-06/0.5711, allocations: 7.938 kB / 1.199 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.003878/0.575, allocations: 0.8761 MB / 1.2 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.575, allocations: 85.09 kB / 1.2 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004161/0.5755, allocations: 336.5 kB / 1.201 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.5755, allocations: 37.62 kB / 1.201 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.5757, allocations: 156.6 kB / 1.201 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.274e-05/0.5757, allocations: 55.2 kB / 1.201 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.5758, allocations: 8 kB / 1.201 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5759, allocations: 342.8 kB / 1.201 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.5763, allocations: 136.5 kB / 1.201 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.5767, allocations: 225.3 kB / 1.202 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.5771, allocations: 178.7 kB / 1.202 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5771, allocations: 0 / 1.202 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00343/0.5805, allocations: 0.8649 MB / 1.203 GB, free: 476 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.307e-05/0.5806, allocations: 41.75 kB / 1.203 GB, free: 428 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5806, allocations: 4 kB / 1.203 GB, free: 424 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008593/0.5814, allocations: 193.5 kB / 1.203 GB, free: 224 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.5817, allocations: 43.91 kB / 1.203 GB, free: 180 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.5847, allocations: 2.243 MB / 1.205 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004517/0.5851, allocations: 55.52 kB / 1.205 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/0.5852, allocations: 23.97 kB / 1.205 GB, free: 13.69 MB / 0.9669 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 ($whenCondition2,$PRE.eva.off,eva.off,$whenCondition1,mAir_flow.a,mAir_flow.b,mAir_flow.last,$PRE.mAir_flow.nextEvent,mAir_flow.nextEvent,mAir_flow.nextEventScaled,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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002512/0.5855, allocations: 179.7 kB / 1.205 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.5855, allocations: 27.72 kB / 1.205 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.5856, allocations: 31.12 kB / 1.205 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5856, allocations: 0 / 1.205 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.5856, allocations: 0 / 1.205 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5856, allocations: 4 kB / 1.205 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003183/0.5888, allocations: 1.056 MB / 1.206 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.5888, allocations: 0 / 1.206 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.34e-05/0.5889, allocations: 8 kB / 1.206 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003167/0.5892, allocations: 116.8 kB / 1.207 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.5893, allocations: 11.94 kB / 1.207 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000931/0.5902, allocations: 0.7575 MB / 1.207 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5902, allocations: 0 / 1.207 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/0.5932, allocations: 0.8913 MB / 1.208 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.5935, allocations: 136.7 kB / 1.208 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.711e-05/0.5935, allocations: 8 kB / 1.208 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.5938, allocations: 8 kB / 1.208 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.5938, allocations: 15.97 kB / 1.208 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.5939, allocations: 8 kB / 1.208 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002917/0.5942, allocations: 239 kB / 1.209 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5942, allocations: 3.938 kB / 1.209 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005357/0.5947, allocations: 112 kB / 1.209 GB, free: 9.957 MB / 0.9669 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003823/0.5951, allocations: 183.1 kB / 1.209 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001584/0.5967, allocations: 0.569 MB / 1.209 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.5967, allocations: 0 / 1.209 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006963/0.5974, allocations: 248.2 kB / 1.21 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.598, allocations: 57.05 kB / 1.21 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.5994, allocations: 0.7114 MB / 1.21 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.5998, allocations: 0.7599 MB / 1.211 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001692/0.5999, allocations: 26.28 kB / 1.211 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.53e-05/0.6, allocations: 23.42 kB / 1.211 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.6, allocations: 0 / 1.211 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of Templates: time 0.01323/0.6133, allocations: 6.62 MB / 1.218 GB, free: 0.7383 MB / 0.9669 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