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.001221/0.001221, allocations: 111.6 kB / 16.41 MB, free: 6.473 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.001125/0.001125, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.732/2.732, allocations: 472.7 MB / 0.746 GB, free: 416 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 63.91 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.019, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.00416/1.024, allocations: 2.383 MB / 1.229 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1694/1.193, allocations: 151 MB / 1.376 GB, free: 3.551 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/1.193, allocations: 4 kB / 1.376 GB, free: 3.547 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0003935/1.194, allocations: 95.23 kB / 1.376 GB, free: 3.457 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0006996/1.194, allocations: 238.6 kB / 1.376 GB, free: 3.223 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/1.196, allocations: 0.6636 MB / 1.377 GB, free: 2.566 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0005117/1.197, allocations: 442.6 kB / 1.378 GB, free: 2.133 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/1.197, allocations: 40.72 kB / 1.378 GB, free: 2.098 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/1.197, allocations: 199.4 kB / 1.378 GB, free: 1.902 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000331/1.197, allocations: 195.4 kB / 1.378 GB, free: 1.711 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 5.943e-05/1.197, allocations: 28 kB / 1.378 GB, free: 1.684 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/1.199, allocations: 0.6317 MB / 1.379 GB, free: 1.051 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/1.199, allocations: 83.72 kB / 1.379 GB, free: 0.9688 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/1.199, allocations: 163.2 kB / 1.379 GB, free: 0.8086 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0008985/1.2, allocations: 0.6548 MB / 1.379 GB, free: 160 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.2, allocations: 4 kB / 1.379 GB, free: 156 kB / 1.092 GB Notification: Performance of FrontEnd: time 1.823e-06/1.2, allocations: 3.938 kB / 1.379 GB, free: 152 kB / 1.092 GB Notification: Performance of Transformations before backend: time 6.242e-06/1.2, allocations: 0 / 1.379 GB, free: 152 kB / 1.092 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.001565/1.201, allocations: 0.7525 MB / 1.38 GB, free: 15.34 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.201, allocations: 8.031 kB / 1.38 GB, free: 15.33 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/1.203, allocations: 160.6 kB / 1.38 GB, free: 15.18 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/1.203, allocations: 326.9 kB / 1.381 GB, free: 14.82 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.02e-05/1.204, allocations: 41.7 kB / 1.381 GB, free: 14.77 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.289e-05/1.204, allocations: 23.95 kB / 1.381 GB, free: 14.75 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/1.204, allocations: 217.4 kB / 1.381 GB, free: 14.52 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/1.204, allocations: 0 / 1.381 GB, free: 14.52 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/1.204, allocations: 4 kB / 1.381 GB, free: 14.52 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/1.204, allocations: 4 kB / 1.381 GB, free: 14.51 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/1.204, allocations: 124.1 kB / 1.381 GB, free: 14.39 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/1.207, allocations: 0.9886 MB / 1.382 GB, free: 13.34 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000744/1.208, allocations: 166.5 kB / 1.382 GB, free: 13.17 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/1.208, allocations: 93.92 kB / 1.382 GB, free: 13.08 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/1.208, allocations: 3.984 kB / 1.382 GB, free: 13.07 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003778/1.208, allocations: 205 kB / 1.382 GB, free: 12.86 MB / 1.107 GB Notification: Performance of pre-optimization done (n=19): time 1.633e-06/1.208, allocations: 0 / 1.382 GB, free: 12.86 MB / 1.107 GB Notification: Performance of matching and sorting (n=19): time 0.004074/1.212, allocations: 0.8613 MB / 1.383 GB, free: 11.96 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/1.212, allocations: 81.11 kB / 1.383 GB, free: 11.86 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004064/1.213, allocations: 336.5 kB / 1.384 GB, free: 11.52 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/1.213, allocations: 37.7 kB / 1.384 GB, free: 11.47 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/1.213, allocations: 152.6 kB / 1.384 GB, free: 11.32 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/1.213, allocations: 55.53 kB / 1.384 GB, free: 11.27 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/1.213, allocations: 93.88 kB / 1.384 GB, free: 11.16 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001381/1.213, allocations: 342.8 kB / 1.384 GB, free: 10.82 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003241/1.214, allocations: 140.5 kB / 1.385 GB, free: 10.68 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/1.214, allocations: 217.9 kB / 1.385 GB, free: 10.46 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006243/1.215, allocations: 340.8 kB / 1.385 GB, free: 10.1 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.215, allocations: 3.938 kB / 1.385 GB, free: 10.09 MB / 1.107 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003769/1.218, allocations: 0.8532 MB / 1.386 GB, free: 9.223 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.298e-05/1.219, allocations: 37.69 kB / 1.386 GB, free: 9.18 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.219, allocations: 0 / 1.386 GB, free: 9.18 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000939/1.22, allocations: 201.5 kB / 1.386 GB, free: 8.977 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/1.22, allocations: 43.97 kB / 1.386 GB, free: 8.934 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003072/1.223, allocations: 2.342 MB / 1.388 GB, free: 6.426 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004994/1.223, allocations: 51.66 kB / 1.388 GB, free: 6.375 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-05/1.223, allocations: 23.97 kB / 1.389 GB, free: 6.352 MB / 1.107 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.0002607/1.224, allocations: 189.3 kB / 1.389 GB, free: 6.156 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.791e-05/1.224, allocations: 31.81 kB / 1.389 GB, free: 6.125 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/1.224, allocations: 31.17 kB / 1.389 GB, free: 6.094 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.224, allocations: 0 / 1.389 GB, free: 6.094 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/1.224, allocations: 4 kB / 1.389 GB, free: 6.09 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/1.224, allocations: 140.7 kB / 1.389 GB, free: 5.934 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/1.224, allocations: 4 kB / 1.389 GB, free: 5.93 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/1.224, allocations: 12 kB / 1.389 GB, free: 5.918 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.762e-05/1.224, allocations: 19.95 kB / 1.389 GB, free: 5.898 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009878/1.225, allocations: 0.5065 MB / 1.389 GB, free: 5.363 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008876/1.226, allocations: 0.6159 MB / 1.39 GB, free: 4.727 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000226/1.227, allocations: 124 kB / 1.39 GB, free: 4.605 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002645/1.227, allocations: 231 kB / 1.39 GB, free: 4.383 MB / 1.107 GB Notification: Performance of Backend: time 5.41e-07/1.227, allocations: 0 / 1.39 GB, free: 4.383 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002272/1.229, allocations: 0.7428 MB / 1.391 GB, free: 3.602 MB / 1.107 GB Notification: Performance of SimCode: time 0.00129/1.23, allocations: 1.113 MB / 1.392 GB, free: 2.434 MB / 1.107 GB Notification: Performance of Templates: time 0.01565/1.246, allocations: 8.581 MB / 1.401 GB, free: 9.906 MB / 1.123 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/jenkins1/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