Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001372/0.001372, allocations: 97.64 kB / 15.36 MB, free: 0.7305 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.001884/0.001884, allocations: 173.1 kB / 16.27 MB, free: 6.656 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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.72/2.72, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003875, allocations: 12 kB / 0.8728 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7442/0.7446, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003018/0.7477, allocations: 2.086 MB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1753/0.9231, allocations: 147.1 MB / 1.169 GB, free: 10.06 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003506/0.9234, allocations: 0 / 1.169 GB, free: 10.06 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004606/0.9239, allocations: 83.55 kB / 1.169 GB, free: 9.977 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0007664/0.9247, allocations: 206.9 kB / 1.169 GB, free: 9.773 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.9265, allocations: 0.5872 MB / 1.17 GB, free: 9.195 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005862/0.9271, allocations: 414.6 kB / 1.17 GB, free: 8.789 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.9273, allocations: 48.67 kB / 1.17 GB, free: 8.742 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.9276, allocations: 167.4 kB / 1.17 GB, free: 8.578 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.9279, allocations: 175.4 kB / 1.17 GB, free: 8.406 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.698e-05/0.928, allocations: 16 kB / 1.17 GB, free: 8.391 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.9293, allocations: 0.6823 MB / 1.171 GB, free: 7.707 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.9295, allocations: 71.67 kB / 1.171 GB, free: 7.637 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.9297, allocations: 172.9 kB / 1.171 GB, free: 7.461 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009737/0.9307, allocations: 0.6505 MB / 1.172 GB, free: 6.809 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.9307, allocations: 0 / 1.172 GB, free: 6.809 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9307, allocations: 0 / 1.172 GB, free: 6.809 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.9307, allocations: 0 / 1.172 GB, free: 6.809 MB / 0.92 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.001519/0.9322, allocations: 0.6794 MB / 1.173 GB, free: 6.074 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.9323, allocations: 8.031 kB / 1.173 GB, free: 6.066 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.9339, allocations: 160.4 kB / 1.173 GB, free: 5.91 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/0.9344, allocations: 314.7 kB / 1.173 GB, free: 5.562 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.9346, allocations: 49.62 kB / 1.173 GB, free: 5.508 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-05/0.9347, allocations: 24 kB / 1.173 GB, free: 5.484 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/0.9352, allocations: 209.7 kB / 1.173 GB, free: 5.266 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.9352, allocations: 0 / 1.173 GB, free: 5.266 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.615e-05/0.9352, allocations: 4 kB / 1.173 GB, free: 5.262 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.9353, allocations: 0 / 1.173 GB, free: 5.262 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.9356, allocations: 128.1 kB / 1.173 GB, free: 5.137 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.9384, allocations: 1 MB / 1.174 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008426/0.9393, allocations: 162.5 kB / 1.175 GB, free: 3.91 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.9395, allocations: 104.8 kB / 1.175 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.9395, allocations: 0 / 1.175 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00041/0.9399, allocations: 192.9 kB / 1.175 GB, free: 3.598 MB / 0.92 GB Notification: Performance of pre-optimization done (n=19): time 5.871e-06/0.94, allocations: 8 kB / 1.175 GB, free: 3.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.004219/0.9442, allocations: 0.8731 MB / 1.176 GB, free: 2.684 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.9443, allocations: 89.03 kB / 1.176 GB, free: 2.578 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004428/0.9447, allocations: 332.5 kB / 1.176 GB, free: 2.242 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.964e-05/0.9448, allocations: 37.7 kB / 1.176 GB, free: 2.199 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.945, allocations: 152.5 kB / 1.176 GB, free: 2.047 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.928e-05/0.945, allocations: 63.19 kB / 1.176 GB, free: 1.984 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.651e-05/0.9451, allocations: 37.7 kB / 1.176 GB, free: 1.941 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.9453, allocations: 350.7 kB / 1.177 GB, free: 1.59 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.9457, allocations: 136.5 kB / 1.177 GB, free: 1.457 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/0.9461, allocations: 217.4 kB / 1.177 GB, free: 1.23 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000732/0.9469, allocations: 340.9 kB / 1.177 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.9469, allocations: 0 / 1.177 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003887/0.9508, allocations: 0.872 MB / 1.178 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.235e-05/0.9508, allocations: 41.62 kB / 1.178 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.9508, allocations: 4 kB / 1.178 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009518/0.9518, allocations: 205.6 kB / 1.178 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.9521, allocations: 35.97 kB / 1.179 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003318/0.9554, allocations: 2.247 MB / 1.181 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004717/0.9559, allocations: 43.58 kB / 1.181 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/0.9559, allocations: 19.97 kB / 1.181 GB, free: 13.21 MB / 0.9356 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.0002715/0.9562, allocations: 199.1 kB / 1.181 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.9563, allocations: 31.62 kB / 1.181 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.9563, allocations: 27.17 kB / 1.181 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.9563, allocations: 0 / 1.181 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.9563, allocations: 8 kB / 1.181 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.9564, allocations: 0 / 1.181 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/0.9597, allocations: 1.055 MB / 1.182 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.9597, allocations: 0 / 1.182 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.433e-05/0.9598, allocations: 4 kB / 1.182 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003262/0.9601, allocations: 116.8 kB / 1.182 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.9601, allocations: 8 kB / 1.182 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000921/0.9611, allocations: 0.7614 MB / 1.183 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.9611, allocations: 0 / 1.183 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003338/0.9644, allocations: 0.8853 MB / 1.184 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.9646, allocations: 132.7 kB / 1.184 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.022e-05/0.9647, allocations: 11.98 kB / 1.184 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.965, allocations: 8 kB / 1.184 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.9651, allocations: 15.98 kB / 1.184 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.9651, allocations: 12.05 kB / 1.184 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003488/0.9655, allocations: 243 kB / 1.184 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.805e-06/0.9655, allocations: 0 / 1.184 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006054/0.9661, allocations: 119.9 kB / 1.184 GB, free: 9.445 MB / 0.9356 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.000395/0.9665, allocations: 183.1 kB / 1.184 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.9682, allocations: 0.5613 MB / 1.185 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9683, allocations: 0 / 1.185 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007462/0.969, allocations: 256.2 kB / 1.185 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005645/0.9696, allocations: 67.73 kB / 1.185 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.9711, allocations: 0.7155 MB / 1.186 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.9715, allocations: 0.7599 MB / 1.187 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001758/0.9717, allocations: 26.3 kB / 1.187 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.9718, allocations: 27.42 kB / 1.187 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of SimCode: time 1.763e-06/0.9718, allocations: 0 / 1.187 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of Templates: time 0.01305/0.9849, allocations: 6.812 MB / 1.193 GB, free: 20 kB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches