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.00112/0.00112, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.605/2.605, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001696, allocations: 63.91 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9207/0.9224, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004239/0.9267, allocations: 2.385 MB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1838/1.111, allocations: 151 MB / 1.167 GB, free: 8.551 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/1.111, allocations: 3.938 kB / 1.167 GB, free: 8.547 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004007/1.111, allocations: 103.4 kB / 1.167 GB, free: 8.445 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0007609/1.112, allocations: 238.6 kB / 1.167 GB, free: 8.211 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001899/1.114, allocations: 0.6571 MB / 1.168 GB, free: 7.562 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005283/1.114, allocations: 438.6 kB / 1.168 GB, free: 7.133 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/1.115, allocations: 52.66 kB / 1.168 GB, free: 7.082 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/1.115, allocations: 179.5 kB / 1.169 GB, free: 6.906 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/1.115, allocations: 195.3 kB / 1.169 GB, free: 6.715 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.936e-05/1.115, allocations: 28 kB / 1.169 GB, free: 6.688 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/1.116, allocations: 0.6201 MB / 1.169 GB, free: 6.066 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001163/1.117, allocations: 87.67 kB / 1.17 GB, free: 5.98 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/1.117, allocations: 171.2 kB / 1.17 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009716/1.118, allocations: 0.635 MB / 1.17 GB, free: 5.176 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.118, allocations: 0 / 1.17 GB, free: 5.176 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.532e-06/1.118, allocations: 0 / 1.17 GB, free: 5.176 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.006e-05/1.118, allocations: 0 / 1.17 GB, free: 5.176 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.001747/1.12, allocations: 0.7493 MB / 1.171 GB, free: 4.371 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.12, allocations: 8.031 kB / 1.171 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/1.121, allocations: 160.4 kB / 1.171 GB, free: 4.207 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/1.122, allocations: 318.7 kB / 1.172 GB, free: 3.855 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.497e-05/1.122, allocations: 41.7 kB / 1.172 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.069e-05/1.122, allocations: 24 kB / 1.172 GB, free: 3.785 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/1.122, allocations: 200.1 kB / 1.172 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/1.122, allocations: 0 / 1.172 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/1.122, allocations: 8 kB / 1.172 GB, free: 3.566 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/1.122, allocations: 4 kB / 1.172 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/1.123, allocations: 124.1 kB / 1.172 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002462/1.125, allocations: 0.9886 MB / 1.173 GB, free: 2.395 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007826/1.126, allocations: 166.5 kB / 1.173 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/1.126, allocations: 103 kB / 1.173 GB, free: 2.121 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/1.126, allocations: 3.938 kB / 1.173 GB, free: 2.117 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003978/1.127, allocations: 193 kB / 1.173 GB, free: 1.91 MB / 0.92 GB Notification: Performance of pre-optimization done (n=19): time 2.404e-06/1.127, allocations: 0 / 1.173 GB, free: 1.91 MB / 0.92 GB Notification: Performance of matching and sorting (n=19): time 0.004018/1.131, allocations: 0.8612 MB / 1.174 GB, free: 1.016 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/1.131, allocations: 81.11 kB / 1.174 GB, free: 0.918 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004543/1.131, allocations: 344.4 kB / 1.175 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.615e-05/1.131, allocations: 33.7 kB / 1.175 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/1.131, allocations: 144.7 kB / 1.175 GB, free: 396 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.284e-05/1.131, allocations: 63.17 kB / 1.175 GB, free: 332 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/1.132, allocations: 89.84 kB / 1.175 GB, free: 236 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001775/1.132, allocations: 342.8 kB / 1.175 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000323/1.132, allocations: 144.5 kB / 1.175 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000401/1.132, allocations: 209.4 kB / 1.176 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006218/1.133, allocations: 336.9 kB / 1.176 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.133, allocations: 3.938 kB / 1.176 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003533/1.137, allocations: 0.8721 MB / 1.177 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/1.137, allocations: 33.7 kB / 1.177 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/1.137, allocations: 3.938 kB / 1.177 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008892/1.138, allocations: 193.6 kB / 1.177 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/1.138, allocations: 39.97 kB / 1.177 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/1.141, allocations: 2.346 MB / 1.179 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004676/1.141, allocations: 43.61 kB / 1.179 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/1.141, allocations: 23.97 kB / 1.179 GB, free: 11.41 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.0002713/1.142, allocations: 184.6 kB / 1.18 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.505e-05/1.142, allocations: 31.62 kB / 1.18 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/1.142, allocations: 31.17 kB / 1.18 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/1.142, allocations: 0 / 1.18 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/1.142, allocations: 0 / 1.18 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.142, allocations: 3.938 kB / 1.18 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003227/1.145, allocations: 1.057 MB / 1.181 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.145, allocations: 0 / 1.181 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.318e-05/1.145, allocations: 4 kB / 1.181 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003121/1.145, allocations: 116.8 kB / 1.181 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/1.146, allocations: 7.938 kB / 1.181 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009769/1.147, allocations: 0.7536 MB / 1.181 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.147, allocations: 3.938 kB / 1.181 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003081/1.15, allocations: 0.8723 MB / 1.182 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/1.15, allocations: 132.7 kB / 1.182 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.591e-05/1.15, allocations: 7.984 kB / 1.182 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/1.15, allocations: 12 kB / 1.182 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/1.15, allocations: 11.92 kB / 1.182 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/1.15, allocations: 20.05 kB / 1.183 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003157/1.151, allocations: 231 kB / 1.183 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/1.151, allocations: 0 / 1.183 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005636/1.151, allocations: 116 kB / 1.183 GB, free: 7.688 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.0003756/1.151, allocations: 183.1 kB / 1.183 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001592/1.153, allocations: 0.5671 MB / 1.184 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.153, allocations: 0 / 1.184 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007253/1.154, allocations: 260.1 kB / 1.184 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/1.154, allocations: 66.34 kB / 1.184 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/1.156, allocations: 0.6201 MB / 1.184 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005282/1.156, allocations: 0.7637 MB / 1.185 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000161/1.157, allocations: 34.28 kB / 1.185 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/1.157, allocations: 23.42 kB / 1.185 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/1.157, allocations: 0 / 1.185 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of Templates: time 0.01383/1.17, allocations: 7.178 MB / 1.192 GB, free: 13.97 MB / 0.9512 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