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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.001067/0.001067, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007397/0.007398, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.573/1.573, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.22/3.22, allocations: 470.6 MB / 0.7442 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.000392, allocations: 9.156 kB / 0.9123 GB, free: 34.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3341, allocations: 161.4 MB / 1.07 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003048/0.3372, allocations: 2.09 MB / 1.072 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1907/0.5279, allocations: 147.1 MB / 1.216 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003972/0.5284, allocations: 4 kB / 1.216 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005213/0.5289, allocations: 83.55 kB / 1.216 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.5299, allocations: 207.8 kB / 1.216 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.5321, allocations: 0.591 MB / 1.216 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007335/0.5328, allocations: 410.6 kB / 1.217 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.533, allocations: 48.7 kB / 1.217 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003814/0.5334, allocations: 159.4 kB / 1.217 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004571/0.5338, allocations: 187.3 kB / 1.217 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.736e-05/0.5339, allocations: 20 kB / 1.217 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.5355, allocations: 0.6628 MB / 1.218 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.5356, allocations: 75.66 kB / 1.218 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.5359, allocations: 168.9 kB / 1.218 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.5377, allocations: 0.6466 MB / 1.219 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.5378, allocations: 4 kB / 1.219 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.228e-06/0.5378, allocations: 3.938 kB / 1.219 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.304e-05/0.5378, allocations: 0 / 1.219 GB, free: 2.352 MB / 0.9669 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.002687/0.5405, allocations: 0.6888 MB / 1.219 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 8.933e-05/0.5406, allocations: 12.03 kB / 1.219 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/0.5426, allocations: 160.3 kB / 1.22 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007576/0.5434, allocations: 310.7 kB / 1.22 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.5435, allocations: 49.69 kB / 1.22 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.5436, allocations: 23.91 kB / 1.22 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.5442, allocations: 200.1 kB / 1.22 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.5442, allocations: 0 / 1.22 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.5443, allocations: 15.98 kB / 1.22 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.5443, allocations: 4 kB / 1.22 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/0.5446, allocations: 126.7 kB / 1.22 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/0.5477, allocations: 0.9926 MB / 1.221 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000903/0.5486, allocations: 166.5 kB / 1.221 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.5489, allocations: 100.8 kB / 1.222 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-05/0.5489, allocations: 4 kB / 1.222 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000533/0.5495, allocations: 192.9 kB / 1.222 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 2.074e-06/0.5495, allocations: 0 / 1.222 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.00453/0.554, allocations: 0.8805 MB / 1.223 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.504e-05/0.5541, allocations: 89.11 kB / 1.223 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005488/0.5547, allocations: 340.4 kB / 1.223 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.768e-05/0.5548, allocations: 33.7 kB / 1.223 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.555, allocations: 152.6 kB / 1.223 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.156e-05/0.5551, allocations: 55.17 kB / 1.223 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.5552, allocations: 41.7 kB / 1.223 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.5554, allocations: 342.7 kB / 1.224 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.5558, allocations: 140.5 kB / 1.224 GB, free: 13 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.5562, allocations: 225.3 kB / 1.224 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007154/0.557, allocations: 340.6 kB / 1.224 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.557, allocations: 0 / 1.224 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003939/0.5609, allocations: 0.8846 MB / 1.225 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.011e-05/0.561, allocations: 38.62 kB / 1.225 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.561, allocations: 0 / 1.225 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009991/0.562, allocations: 201.6 kB / 1.225 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.5623, allocations: 43.91 kB / 1.225 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003757/0.5661, allocations: 2.231 MB / 1.228 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005943/0.5667, allocations: 43.58 kB / 1.228 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-05/0.5668, allocations: 23.98 kB / 1.228 GB, free: 8.75 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.0005055/0.5673, allocations: 191.5 kB / 1.228 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.5675, allocations: 31.61 kB / 1.228 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.439e-05/0.5676, allocations: 27.19 kB / 1.228 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.5676, allocations: 4 kB / 1.228 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.5676, allocations: 0 / 1.228 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.5676, allocations: 3.984 kB / 1.228 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003736/0.5713, allocations: 1.047 MB / 1.229 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.5714, allocations: 0 / 1.229 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.711e-05/0.5714, allocations: 19.92 kB / 1.229 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003385/0.5718, allocations: 112.8 kB / 1.229 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.5718, allocations: 19.98 kB / 1.229 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009944/0.5728, allocations: 0.742 MB / 1.23 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.5729, allocations: 8 kB / 1.23 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003327/0.5762, allocations: 0.8813 MB / 1.231 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.5764, allocations: 144.6 kB / 1.231 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.5765, allocations: 4 kB / 1.231 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.5768, allocations: 16.05 kB / 1.231 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.84e-05/0.5768, allocations: 19.86 kB / 1.231 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.5769, allocations: 11.98 kB / 1.231 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003351/0.5772, allocations: 239 kB / 1.231 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5772, allocations: 0 / 1.231 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005851/0.5778, allocations: 112 kB / 1.231 GB, free: 4.988 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.0004288/0.5783, allocations: 179.7 kB / 1.231 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.58, allocations: 0.5614 MB / 1.232 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.58, allocations: 4.062 kB / 1.232 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007746/0.5808, allocations: 245.4 kB / 1.232 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.5814, allocations: 68.28 kB / 1.232 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.583, allocations: 0.7184 MB / 1.233 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.5834, allocations: 0.7598 MB / 1.234 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000197/0.5836, allocations: 30.3 kB / 1.234 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.5837, allocations: 23.42 kB / 1.234 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.5837, allocations: 0 / 1.234 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of Templates: time 0.01521/0.599, allocations: 6.82 MB / 1.24 GB, free: 11.56 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches