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.006987/0.006987, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001397/0.001397, allocations: 188.9 kB / 16.67 MB, free: 5.969 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.73/2.73, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 68.11 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3755, allocations: 157.4 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003754/0.3793, allocations: 2.392 MB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 1.03/1.409, allocations: 151 MB / 1.358 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000282/1.41, allocations: 9.312 kB / 1.358 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004466/1.41, allocations: 93.88 kB / 1.358 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0009717/1.411, allocations: 235.5 kB / 1.358 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002223/1.413, allocations: 0.6589 MB / 1.358 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0007321/1.414, allocations: 441.7 kB / 1.359 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/1.414, allocations: 46.55 kB / 1.359 GB, free: 10.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/1.415, allocations: 179.9 kB / 1.359 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003797/1.415, allocations: 203.2 kB / 1.359 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.2e-05/1.415, allocations: 29.25 kB / 1.359 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/1.417, allocations: 0.6279 MB / 1.36 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/1.417, allocations: 87.83 kB / 1.36 GB, free: 10.03 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001977/1.417, allocations: 159.7 kB / 1.36 GB, free: 9.941 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/1.418, allocations: 0.6532 MB / 1.361 GB, free: 9.715 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.418, allocations: 0 / 1.361 GB, free: 9.715 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.014e-06/1.418, allocations: 0 / 1.361 GB, free: 9.715 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.735e-06/1.418, allocations: 3.938 kB / 1.361 GB, free: 9.711 MB / 1.061 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.001761/1.42, allocations: 0.7452 MB / 1.362 GB, free: 9.133 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.42, allocations: 10.38 kB / 1.362 GB, free: 9.133 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/1.422, allocations: 159.7 kB / 1.362 GB, free: 9.109 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/1.422, allocations: 319.3 kB / 1.362 GB, free: 8.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.623e-05/1.422, allocations: 45.89 kB / 1.362 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.294e-05/1.423, allocations: 17.47 kB / 1.362 GB, free: 8.797 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/1.423, allocations: 215.8 kB / 1.362 GB, free: 8.684 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/1.423, allocations: 0 / 1.362 GB, free: 8.684 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/1.423, allocations: 6.281 kB / 1.362 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/1.423, allocations: 5.344 kB / 1.362 GB, free: 8.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/1.423, allocations: 117.1 kB / 1.362 GB, free: 8.645 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/1.426, allocations: 0.9892 MB / 1.363 GB, free: 8.004 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008078/1.427, allocations: 166.6 kB / 1.364 GB, free: 7.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/1.427, allocations: 94.22 kB / 1.364 GB, free: 7.895 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/1.427, allocations: 1.281 kB / 1.364 GB, free: 7.895 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003778/1.427, allocations: 194.2 kB / 1.364 GB, free: 7.777 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 2.034e-06/1.427, allocations: 0 / 1.364 GB, free: 7.777 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.004064/1.431, allocations: 0.8583 MB / 1.365 GB, free: 7.465 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/1.431, allocations: 86.64 kB / 1.365 GB, free: 7.367 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005095/1.432, allocations: 343.4 kB / 1.365 GB, free: 7.184 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/1.432, allocations: 33.33 kB / 1.365 GB, free: 7.148 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/1.432, allocations: 152.4 kB / 1.365 GB, free: 7.012 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.279e-05/1.432, allocations: 57.3 kB / 1.365 GB, free: 6.969 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/1.433, allocations: 83.73 kB / 1.365 GB, free: 6.926 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001854/1.433, allocations: 343.4 kB / 1.366 GB, free: 6.598 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003721/1.433, allocations: 145 kB / 1.366 GB, free: 6.547 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004436/1.434, allocations: 217.1 kB / 1.366 GB, free: 6.441 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/1.434, allocations: 346.3 kB / 1.366 GB, free: 6.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.434, allocations: 0 / 1.366 GB, free: 6.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003676/1.438, allocations: 0.8545 MB / 1.367 GB, free: 5.953 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.64e-05/1.438, allocations: 42.22 kB / 1.367 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/1.438, allocations: 0 / 1.367 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009482/1.439, allocations: 194.3 kB / 1.367 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/1.439, allocations: 39.08 kB / 1.367 GB, free: 5.859 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003128/1.442, allocations: 2.35 MB / 1.37 GB, free: 3.691 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/1.443, allocations: 50.83 kB / 1.37 GB, free: 3.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/1.443, allocations: 17.09 kB / 1.37 GB, free: 3.66 MB / 1.061 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.0002984/1.443, allocations: 189.9 kB / 1.37 GB, free: 3.492 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/1.443, allocations: 26.03 kB / 1.37 GB, free: 3.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/1.443, allocations: 31.64 kB / 1.37 GB, free: 3.465 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.443, allocations: 5.156 kB / 1.37 GB, free: 3.461 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/1.444, allocations: 0 / 1.37 GB, free: 3.461 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/1.444, allocations: 6.906 kB / 1.37 GB, free: 3.457 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/1.447, allocations: 1.047 MB / 1.371 GB, free: 2.922 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.447, allocations: 0 / 1.371 GB, free: 2.922 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/1.447, allocations: 6.188 kB / 1.371 GB, free: 2.922 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003331/1.447, allocations: 114.6 kB / 1.371 GB, free: 2.883 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.342e-05/1.447, allocations: 9.922 kB / 1.371 GB, free: 2.879 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009358/1.448, allocations: 0.7489 MB / 1.372 GB, free: 2.227 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/1.448, allocations: 2.016 kB / 1.372 GB, free: 2.227 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003161/1.451, allocations: 0.8762 MB / 1.373 GB, free: 1.754 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/1.452, allocations: 129.9 kB / 1.373 GB, free: 1.621 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/1.452, allocations: 8.656 kB / 1.373 GB, free: 1.617 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/1.452, allocations: 11.05 kB / 1.373 GB, free: 1.613 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/1.452, allocations: 13.02 kB / 1.373 GB, free: 1.605 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/1.452, allocations: 10.02 kB / 1.373 GB, free: 1.602 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003396/1.452, allocations: 241.7 kB / 1.373 GB, free: 1.449 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/1.452, allocations: 0 / 1.373 GB, free: 1.449 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006485/1.453, allocations: 112 kB / 1.373 GB, free: 1.434 MB / 1.061 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.0004096/1.453, allocations: 185.6 kB / 1.374 GB, free: 1.305 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001684/1.455, allocations: 0.5758 MB / 1.374 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.455, allocations: 0 / 1.374 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007638/1.456, allocations: 255.5 kB / 1.374 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005161/1.456, allocations: 65.72 kB / 1.374 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/1.458, allocations: 0.612 MB / 1.375 GB, free: 324 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/1.459, allocations: 0.7589 MB / 1.376 GB, free: 15.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001766/1.459, allocations: 28.55 kB / 1.376 GB, free: 15.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/1.459, allocations: 24.33 kB / 1.376 GB, free: 15.56 MB / 1.076 GB Notification: Performance of SimCode: time 8.32e-07/1.459, allocations: 4 kB / 1.376 GB, free: 15.55 MB / 1.076 GB Notification: Performance of Templates: time 0.01591/1.475, allocations: 7.445 MB / 1.383 GB, free: 11.77 MB / 1.076 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