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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001867/0.001867, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002621/0.002621, allocations: 193 kB / 16.13 MB, free: 6.652 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.355/1.355, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.837/2.837, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 63.11 kB / 0.8984 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3657, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004114/0.3698, allocations: 2.431 MB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1772/0.5471, allocations: 148.7 MB / 1.2 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002914/0.5474, allocations: 4 kB / 1.2 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004409/0.5478, allocations: 87.61 kB / 1.2 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007824/0.5487, allocations: 202.9 kB / 1.2 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.5506, allocations: 0.586 MB / 1.201 GB, free: 248 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005769/0.5512, allocations: 422.5 kB / 1.201 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.5513, allocations: 44.73 kB / 1.201 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.5515, allocations: 163.4 kB / 1.201 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003259/0.5519, allocations: 195.2 kB / 1.201 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.764e-05/0.5519, allocations: 20 kB / 1.201 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.5533, allocations: 0.6706 MB / 1.202 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.5534, allocations: 67.78 kB / 1.202 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.5536, allocations: 155.2 kB / 1.202 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009311/0.5546, allocations: 0.6544 MB / 1.203 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5546, allocations: 0 / 1.203 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.42e-07/0.5546, allocations: 0 / 1.203 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.5546, allocations: 4 kB / 1.203 GB, free: 13.87 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.001675/0.5563, allocations: 0.7455 MB / 1.204 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.5564, allocations: 12.03 kB / 1.204 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/0.558, allocations: 152.4 kB / 1.204 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.5585, allocations: 318.7 kB / 1.204 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.245e-05/0.5586, allocations: 49.69 kB / 1.204 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.5587, allocations: 19.91 kB / 1.204 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.5591, allocations: 216.5 kB / 1.204 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.5591, allocations: 0 / 1.204 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.5592, allocations: 8 kB / 1.204 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.5592, allocations: 0 / 1.204 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.5595, allocations: 116.1 kB / 1.204 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002596/0.5621, allocations: 0.9964 MB / 1.205 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008255/0.5629, allocations: 158.5 kB / 1.206 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.5631, allocations: 96.81 kB / 1.206 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.5632, allocations: 4 kB / 1.206 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005961/0.5638, allocations: 200.9 kB / 1.206 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=19): time 4.027e-06/0.5638, allocations: 0 / 1.206 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.004664/0.5685, allocations: 0.8575 MB / 1.207 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.5686, allocations: 85.11 kB / 1.207 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005459/0.5691, allocations: 340.4 kB / 1.207 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.284e-05/0.5692, allocations: 29.7 kB / 1.207 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.5694, allocations: 148.6 kB / 1.207 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.881e-05/0.5695, allocations: 55.17 kB / 1.207 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.5697, allocations: 89.94 kB / 1.207 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.5699, allocations: 346.7 kB / 1.208 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/0.5702, allocations: 136.5 kB / 1.208 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004469/0.5707, allocations: 217.4 kB / 1.208 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00071/0.5714, allocations: 340.8 kB / 1.208 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5714, allocations: 4 kB / 1.208 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003967/0.5754, allocations: 0.8646 MB / 1.209 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.146e-05/0.5755, allocations: 41.62 kB / 1.209 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.5755, allocations: 0 / 1.209 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009809/0.5765, allocations: 201.7 kB / 1.21 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.5768, allocations: 39.91 kB / 1.21 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002954/0.5797, allocations: 2.235 MB / 1.212 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/0.5803, allocations: 39.67 kB / 1.212 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.365e-05/0.5804, allocations: 23.97 kB / 1.212 GB, free: 4.227 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 ($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.0002841/0.5807, allocations: 199.8 kB / 1.212 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.5807, allocations: 27.62 kB / 1.212 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.654e-05/0.5808, allocations: 31.17 kB / 1.212 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.5808, allocations: 4 kB / 1.212 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5808, allocations: 4 kB / 1.212 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.5808, allocations: 0 / 1.212 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003409/0.5842, allocations: 1.039 MB / 1.213 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.5842, allocations: 0 / 1.213 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.142e-05/0.5843, allocations: 8 kB / 1.213 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003411/0.5847, allocations: 116.8 kB / 1.213 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.5847, allocations: 7.984 kB / 1.213 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009387/0.5856, allocations: 0.7498 MB / 1.214 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5857, allocations: 0 / 1.214 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003354/0.589, allocations: 0.8697 MB / 1.215 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.5892, allocations: 140.6 kB / 1.215 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.108e-05/0.5893, allocations: 8 kB / 1.215 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.5896, allocations: 12 kB / 1.215 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.5897, allocations: 11.97 kB / 1.215 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.5897, allocations: 8.062 kB / 1.215 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003322/0.5901, allocations: 239 kB / 1.215 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5901, allocations: 0 / 1.215 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006108/0.5907, allocations: 116 kB / 1.215 GB, free: 0.5078 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 (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.0004223/0.5911, allocations: 197.7 kB / 1.215 GB, free: 312 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.5928, allocations: 0.5574 MB / 1.216 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5928, allocations: 0 / 1.216 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007555/0.5936, allocations: 244.2 kB / 1.216 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005492/0.5941, allocations: 66.98 kB / 1.216 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.5956, allocations: 0.6802 MB / 1.217 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.596, allocations: 0.7638 MB / 1.218 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001686/0.5962, allocations: 26.28 kB / 1.218 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.5962, allocations: 27.36 kB / 1.218 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of SimCode: time 6.71e-07/0.5962, allocations: 0 / 1.218 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of Templates: time 0.01285/0.6091, allocations: 6.868 MB / 1.224 GB, free: 7.066 MB / 0.9825 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