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.001719/0.001719, 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.002211/0.002211, allocations: 199.1 kB / 16.14 MB, free: 6.645 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.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.001/3.001, allocations: 472.7 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 64.8 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4299, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.00422/0.4341, allocations: 2.437 MB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1794/0.6136, allocations: 148.7 MB / 1.215 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002843/0.6139, allocations: 4 kB / 1.215 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000439/0.6144, allocations: 83.55 kB / 1.215 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007396/0.6151, allocations: 210.9 kB / 1.215 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.6169, allocations: 0.5793 MB / 1.216 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004459/0.6174, allocations: 410.6 kB / 1.216 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.6175, allocations: 44.72 kB / 1.216 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.6178, allocations: 163.4 kB / 1.217 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.6181, allocations: 191.3 kB / 1.217 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.719e-05/0.6181, allocations: 20 kB / 1.217 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.6195, allocations: 0.6667 MB / 1.217 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.6196, allocations: 83.64 kB / 1.218 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.6198, allocations: 151.2 kB / 1.218 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009065/0.6207, allocations: 0.6544 MB / 1.218 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6207, allocations: 0 / 1.218 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.42e-07/0.6207, allocations: 0 / 1.218 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.6208, allocations: 0 / 1.218 GB, free: 15.89 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.00169/0.6225, allocations: 0.7512 MB / 1.219 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.6225, allocations: 11.97 kB / 1.219 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.6241, allocations: 160.4 kB / 1.219 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.6246, allocations: 314.7 kB / 1.22 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.101e-05/0.6247, allocations: 49.69 kB / 1.22 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.288e-05/0.6248, allocations: 20 kB / 1.22 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000422/0.6252, allocations: 209.9 kB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.6252, allocations: 0 / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.6253, allocations: 4 kB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.6253, allocations: 4 kB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.6256, allocations: 122.5 kB / 1.22 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002529/0.6281, allocations: 0.9886 MB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008469/0.629, allocations: 162.4 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.6292, allocations: 104.8 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.6292, allocations: 7.984 kB / 1.221 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003745/0.6296, allocations: 185 kB / 1.221 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.893e-06/0.6296, allocations: 0 / 1.221 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.004362/0.634, allocations: 0.8649 MB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.6341, allocations: 81.11 kB / 1.222 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.6345, allocations: 340.4 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/0.6345, allocations: 33.7 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.6347, allocations: 152.5 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/0.6347, allocations: 59.23 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.6349, allocations: 85.94 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.635, allocations: 346.8 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.6354, allocations: 136.5 kB / 1.223 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004121/0.6358, allocations: 221.3 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.6365, allocations: 340.6 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6365, allocations: 4 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003839/0.6403, allocations: 0.8609 MB / 1.225 GB, free: 9 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/0.6404, allocations: 37.7 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.6404, allocations: 4 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009592/0.6414, allocations: 197.7 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.6416, allocations: 39.91 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.6446, allocations: 2.232 MB / 1.227 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.6451, allocations: 39.67 kB / 1.227 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.6452, allocations: 19.92 kB / 1.227 GB, free: 6.266 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.000276/0.6454, allocations: 204.1 kB / 1.227 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.192e-05/0.6455, allocations: 31.62 kB / 1.227 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.6456, allocations: 31.17 kB / 1.228 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6456, allocations: 0 / 1.228 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.6456, allocations: 4 kB / 1.228 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.6456, allocations: 0 / 1.228 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003349/0.6489, allocations: 1.043 MB / 1.229 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.649, allocations: 0 / 1.229 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.211e-05/0.649, allocations: 4 kB / 1.229 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00031/0.6493, allocations: 108.8 kB / 1.229 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.6494, allocations: 11.98 kB / 1.229 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009222/0.6503, allocations: 0.7575 MB / 1.229 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6503, allocations: 4 kB / 1.229 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00327/0.6536, allocations: 0.8632 MB / 1.23 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.6538, allocations: 136.6 kB / 1.23 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.877e-05/0.6538, allocations: 11.94 kB / 1.23 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.6541, allocations: 11.98 kB / 1.23 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.6542, allocations: 15.92 kB / 1.23 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.6542, allocations: 16.05 kB / 1.23 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002999/0.6545, allocations: 239 kB / 1.231 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6546, allocations: 0 / 1.231 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005695/0.6551, allocations: 112 kB / 1.231 GB, free: 2.535 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.0003828/0.6555, allocations: 185.4 kB / 1.231 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001603/0.6571, allocations: 0.5664 MB / 1.231 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6571, allocations: 0 / 1.231 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007619/0.6579, allocations: 248.2 kB / 1.232 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.6584, allocations: 53 kB / 1.232 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.6598, allocations: 0.6799 MB / 1.232 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.6602, allocations: 0.7598 MB / 1.233 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001622/0.6604, allocations: 34.27 kB / 1.233 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.6605, allocations: 27.42 kB / 1.233 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.6605, allocations: 0 / 1.233 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of Templates: time 0.01356/0.6741, allocations: 6.865 MB / 1.24 GB, free: 9.094 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