Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007951/0.007951, allocations: 101 kB / 15.73 MB, free: 6.477 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.001897/0.001897, allocations: 191.2 kB / 16.67 MB, free: 6.379 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.309/2.309, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 71.81 kB / 0.9509 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2651, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.00419/0.2693, allocations: 2.399 MB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1513/0.4207, allocations: 151 MB / 1.238 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.4209, allocations: 7.938 kB / 1.238 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.4213, allocations: 95.36 kB / 1.238 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006655/0.422, allocations: 238.6 kB / 1.238 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.4235, allocations: 0.6644 MB / 1.239 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004681/0.424, allocations: 442.6 kB / 1.239 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.4242, allocations: 44.7 kB / 1.239 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.4244, allocations: 187.4 kB / 1.239 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003073/0.4247, allocations: 199.3 kB / 1.24 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.4248, allocations: 28 kB / 1.24 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.4259, allocations: 0.6278 MB / 1.24 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.426, allocations: 83.72 kB / 1.24 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.4262, allocations: 159.2 kB / 1.24 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008336/0.427, allocations: 0.6506 MB / 1.241 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.427, allocations: 3.938 kB / 1.241 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.427, allocations: 4 kB / 1.241 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.477e-06/0.427, allocations: 0 / 1.241 GB, free: 4.133 MB / 0.9981 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.001451/0.4285, allocations: 0.7377 MB / 1.242 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.4285, allocations: 11.97 kB / 1.242 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.4301, allocations: 164.1 kB / 1.242 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005111/0.4306, allocations: 330.1 kB / 1.242 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.762e-05/0.4307, allocations: 41.7 kB / 1.242 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.4308, allocations: 20 kB / 1.242 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.4312, allocations: 215 kB / 1.243 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.4312, allocations: 0 / 1.243 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.4312, allocations: 4 kB / 1.243 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4312, allocations: 4 kB / 1.243 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.4315, allocations: 124 kB / 1.243 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.4339, allocations: 0.9808 MB / 1.244 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007905/0.4347, allocations: 162.5 kB / 1.244 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.4349, allocations: 100.8 kB / 1.244 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.435, allocations: 3.984 kB / 1.244 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000356/0.4353, allocations: 192.9 kB / 1.244 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.4353, allocations: 0 / 1.244 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.00411/0.4394, allocations: 0.857 MB / 1.245 GB, free: 15.97 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.4395, allocations: 81.11 kB / 1.245 GB, free: 15.88 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/0.4399, allocations: 352.2 kB / 1.245 GB, free: 15.52 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.44, allocations: 33.7 kB / 1.245 GB, free: 15.48 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.4401, allocations: 148.6 kB / 1.245 GB, free: 15.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.128e-05/0.4401, allocations: 59.19 kB / 1.246 GB, free: 15.28 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.4403, allocations: 85.94 kB / 1.246 GB, free: 15.19 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.4404, allocations: 342.8 kB / 1.246 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.4408, allocations: 136.5 kB / 1.246 GB, free: 14.71 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004202/0.4412, allocations: 225.3 kB / 1.246 GB, free: 14.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000625/0.4418, allocations: 340.6 kB / 1.247 GB, free: 14.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4419, allocations: 0 / 1.247 GB, free: 14.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003753/0.4456, allocations: 0.8569 MB / 1.247 GB, free: 13.24 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.4457, allocations: 41.69 kB / 1.247 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.4457, allocations: 7.922 kB / 1.247 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009144/0.4466, allocations: 189.5 kB / 1.248 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.4469, allocations: 47.91 kB / 1.248 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/0.4499, allocations: 2.341 MB / 1.25 GB, free: 10.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.4504, allocations: 43.67 kB / 1.25 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.4504, allocations: 19.98 kB / 1.25 GB, free: 10.38 MB / 1.014 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.0002672/0.4507, allocations: 192.3 kB / 1.25 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.4508, allocations: 27.72 kB / 1.25 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.067e-05/0.4508, allocations: 31.17 kB / 1.25 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.4508, allocations: 3.938 kB / 1.25 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.4508, allocations: 0 / 1.25 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4508, allocations: 4 kB / 1.25 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003247/0.4541, allocations: 1.042 MB / 1.251 GB, free: 9.008 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4541, allocations: 0 / 1.251 GB, free: 9.008 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.4542, allocations: 11.94 kB / 1.251 GB, free: 8.996 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003092/0.4545, allocations: 108.8 kB / 1.251 GB, free: 8.887 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.4545, allocations: 11.98 kB / 1.251 GB, free: 8.875 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008734/0.4554, allocations: 0.7497 MB / 1.252 GB, free: 8.102 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.4554, allocations: 4 kB / 1.252 GB, free: 8.098 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003124/0.4585, allocations: 0.8683 MB / 1.253 GB, free: 7.203 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.4587, allocations: 132.8 kB / 1.253 GB, free: 7.055 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/0.4588, allocations: 12 kB / 1.253 GB, free: 7.043 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.459, allocations: 11.98 kB / 1.253 GB, free: 7.031 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.4591, allocations: 7.984 kB / 1.253 GB, free: 7.023 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.4591, allocations: 15.98 kB / 1.253 GB, free: 7.008 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002794/0.4594, allocations: 243 kB / 1.253 GB, free: 6.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4594, allocations: 0 / 1.253 GB, free: 6.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004682/0.4599, allocations: 112 kB / 1.254 GB, free: 6.66 MB / 1.014 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.0003489/0.4603, allocations: 195.1 kB / 1.254 GB, free: 6.457 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001553/0.4618, allocations: 0.5771 MB / 1.254 GB, free: 5.852 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4618, allocations: 0 / 1.254 GB, free: 5.852 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007513/0.4626, allocations: 252 kB / 1.255 GB, free: 5.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.4631, allocations: 68.66 kB / 1.255 GB, free: 5.527 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.4644, allocations: 0.6041 MB / 1.255 GB, free: 4.898 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.4647, allocations: 0.7599 MB / 1.256 GB, free: 4.113 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001254/0.4649, allocations: 26.3 kB / 1.256 GB, free: 4.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.4649, allocations: 23.42 kB / 1.256 GB, free: 4.066 MB / 1.014 GB Notification: Performance of SimCode: time 2.544e-06/0.4649, allocations: 0 / 1.256 GB, free: 4.066 MB / 1.014 GB Notification: Performance of Templates: time 0.4814/0.9463, allocations: 7.236 MB / 1.263 GB, free: 174.3 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches