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.00724/0.00724, allocations: 102.4 kB / 15.73 MB, free: 6.438 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.001474/0.001474, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.731/2.731, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 63.89 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3392, allocations: 157.4 MB / 1.208 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003639/0.3429, allocations: 2.382 MB / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9693/1.312, allocations: 151 MB / 1.358 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/1.312, allocations: 10.34 kB / 1.358 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003818/1.313, allocations: 89.75 kB / 1.358 GB, free: 11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0008413/1.314, allocations: 245.2 kB / 1.358 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/1.316, allocations: 0.6676 MB / 1.358 GB, free: 10.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005701/1.316, allocations: 438 kB / 1.359 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/1.316, allocations: 45.33 kB / 1.359 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/1.317, allocations: 192 kB / 1.359 GB, free: 10.26 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/1.317, allocations: 204.6 kB / 1.359 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.438e-05/1.317, allocations: 29.41 kB / 1.359 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/1.318, allocations: 0.6229 MB / 1.36 GB, free: 9.984 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/1.318, allocations: 85.88 kB / 1.36 GB, free: 9.934 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/1.319, allocations: 163.3 kB / 1.36 GB, free: 9.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009426/1.319, allocations: 0.6579 MB / 1.361 GB, free: 9.609 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.319, allocations: 0 / 1.361 GB, free: 9.609 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.333e-06/1.319, allocations: 0 / 1.361 GB, free: 9.609 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.126e-05/1.32, allocations: 4 kB / 1.361 GB, free: 9.605 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.001628/1.321, allocations: 0.7372 MB / 1.362 GB, free: 9.035 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.321, allocations: 10.28 kB / 1.362 GB, free: 9.035 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/1.323, allocations: 158.9 kB / 1.362 GB, free: 9.012 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005656/1.323, allocations: 322.7 kB / 1.362 GB, free: 8.738 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-05/1.323, allocations: 47.45 kB / 1.362 GB, free: 8.699 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.495e-05/1.323, allocations: 21.5 kB / 1.362 GB, free: 8.691 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/1.324, allocations: 212.3 kB / 1.362 GB, free: 8.582 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/1.324, allocations: 0 / 1.362 GB, free: 8.582 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/1.324, allocations: 8.062 kB / 1.362 GB, free: 8.578 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/1.324, allocations: 3.719 kB / 1.362 GB, free: 8.578 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002756/1.324, allocations: 117.2 kB / 1.362 GB, free: 8.543 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002433/1.327, allocations: 0.9875 MB / 1.363 GB, free: 7.902 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007792/1.328, allocations: 161.2 kB / 1.364 GB, free: 7.836 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/1.328, allocations: 99.62 kB / 1.364 GB, free: 7.793 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/1.328, allocations: 1.5 kB / 1.364 GB, free: 7.793 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003556/1.328, allocations: 190.3 kB / 1.364 GB, free: 7.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/1.328, allocations: 1.469 kB / 1.364 GB, free: 7.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.004074/1.332, allocations: 0.8613 MB / 1.365 GB, free: 7.359 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/1.332, allocations: 81.42 kB / 1.365 GB, free: 7.266 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004585/1.333, allocations: 343.7 kB / 1.365 GB, free: 7.082 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/1.333, allocations: 32.77 kB / 1.365 GB, free: 7.047 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/1.333, allocations: 153.7 kB / 1.365 GB, free: 6.91 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.306e-05/1.333, allocations: 52.41 kB / 1.365 GB, free: 6.871 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/1.333, allocations: 84.05 kB / 1.365 GB, free: 6.828 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.333, allocations: 345.5 kB / 1.366 GB, free: 6.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/1.334, allocations: 139.5 kB / 1.366 GB, free: 6.453 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/1.334, allocations: 225.5 kB / 1.366 GB, free: 6.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000636/1.335, allocations: 336.8 kB / 1.366 GB, free: 6.137 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.335, allocations: 1.156 kB / 1.366 GB, free: 6.137 MB / 1.061 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003646/1.338, allocations: 0.8548 MB / 1.367 GB, free: 5.859 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/1.339, allocations: 43.16 kB / 1.367 GB, free: 5.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/1.339, allocations: 5.125 kB / 1.367 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009467/1.339, allocations: 194.6 kB / 1.367 GB, free: 5.762 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/1.34, allocations: 52.16 kB / 1.367 GB, free: 5.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/1.343, allocations: 2.336 MB / 1.37 GB, free: 3.594 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/1.343, allocations: 48.83 kB / 1.37 GB, free: 3.566 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/1.343, allocations: 24.3 kB / 1.37 GB, free: 3.559 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.0002719/1.344, allocations: 186.8 kB / 1.37 GB, free: 3.391 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/1.344, allocations: 27.59 kB / 1.37 GB, free: 3.379 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.376e-05/1.344, allocations: 31.84 kB / 1.37 GB, free: 3.363 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/1.344, allocations: 5.438 kB / 1.37 GB, free: 3.359 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/1.344, allocations: 0 / 1.37 GB, free: 3.359 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.344, allocations: 3.938 kB / 1.37 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003311/1.347, allocations: 1.038 MB / 1.371 GB, free: 2.832 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.347, allocations: 0 / 1.371 GB, free: 2.832 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/1.347, allocations: 9.562 kB / 1.371 GB, free: 2.828 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003156/1.348, allocations: 118.1 kB / 1.371 GB, free: 2.785 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/1.348, allocations: 10.69 kB / 1.371 GB, free: 2.781 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009395/1.349, allocations: 0.745 MB / 1.372 GB, free: 2.133 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.349, allocations: 0 / 1.372 GB, free: 2.133 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/1.352, allocations: 0.8735 MB / 1.373 GB, free: 1.656 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/1.352, allocations: 134.5 kB / 1.373 GB, free: 1.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.455e-05/1.352, allocations: 7.938 kB / 1.373 GB, free: 1.516 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/1.352, allocations: 15.23 kB / 1.373 GB, free: 1.508 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/1.352, allocations: 8.641 kB / 1.373 GB, free: 1.504 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/1.353, allocations: 13.86 kB / 1.373 GB, free: 1.496 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003568/1.353, allocations: 238.5 kB / 1.373 GB, free: 1.348 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.6e-07/1.353, allocations: 0 / 1.373 GB, free: 1.348 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007418/1.354, allocations: 111.5 kB / 1.373 GB, free: 1.332 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.0004412/1.354, allocations: 189 kB / 1.374 GB, free: 1.203 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001603/1.356, allocations: 0.5751 MB / 1.374 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.356, allocations: 4.062 kB / 1.374 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007517/1.356, allocations: 252.2 kB / 1.374 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/1.357, allocations: 70.3 kB / 1.374 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/1.358, allocations: 0.6174 MB / 1.375 GB, free: 212 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/1.359, allocations: 0.7576 MB / 1.376 GB, free: 15.48 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001571/1.359, allocations: 32.73 kB / 1.376 GB, free: 15.46 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/1.359, allocations: 24.77 kB / 1.376 GB, free: 15.45 MB / 1.076 GB Notification: Performance of SimCode: time 2.2e-07/1.359, allocations: 0 / 1.376 GB, free: 15.45 MB / 1.076 GB Notification: Performance of Templates: time 0.01373/1.373, allocations: 7.236 MB / 1.383 GB, free: 11.82 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