Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006964/0.006964, allocations: 99.38 kB / 15.73 MB, free: 6.008 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.001575/0.001575, allocations: 195.9 kB / 16.68 MB, free: 5.934 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.853/2.853, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 71.83 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3719, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003933/0.3758, allocations: 2.393 MB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9544/1.33, allocations: 151.4 MB / 1.371 GB, free: 12.66 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004424/1.331, allocations: 6.375 kB / 1.371 GB, free: 12.66 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006086/1.331, allocations: 97.3 kB / 1.371 GB, free: 12.61 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001416/1.333, allocations: 244.1 kB / 1.371 GB, free: 12.48 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003027/1.336, allocations: 0.6667 MB / 1.372 GB, free: 12.16 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001007/1.337, allocations: 435.6 kB / 1.372 GB, free: 11.97 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/1.337, allocations: 36.97 kB / 1.372 GB, free: 11.95 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004725/1.337, allocations: 179 kB / 1.372 GB, free: 11.89 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005972/1.338, allocations: 203.3 kB / 1.373 GB, free: 11.81 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001226/1.338, allocations: 30.62 kB / 1.373 GB, free: 11.81 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/1.34, allocations: 0.6267 MB / 1.373 GB, free: 11.61 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001874/1.34, allocations: 87.83 kB / 1.373 GB, free: 11.56 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000324/1.34, allocations: 160 kB / 1.373 GB, free: 11.47 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001735/1.342, allocations: 0.6594 MB / 1.374 GB, free: 11.24 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/1.342, allocations: 5.25 kB / 1.374 GB, free: 11.23 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.502e-06/1.342, allocations: 0 / 1.374 GB, free: 11.23 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.922e-05/1.342, allocations: 0 / 1.374 GB, free: 11.23 MB / 1.076 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.002235/1.344, allocations: 0.7514 MB / 1.375 GB, free: 10.65 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.344, allocations: 9.469 kB / 1.375 GB, free: 10.65 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/1.346, allocations: 154.3 kB / 1.375 GB, free: 10.63 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007322/1.347, allocations: 327.4 kB / 1.375 GB, free: 10.35 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/1.347, allocations: 48.78 kB / 1.375 GB, free: 10.31 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.938e-05/1.347, allocations: 20.86 kB / 1.375 GB, free: 10.3 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004791/1.348, allocations: 208.7 kB / 1.376 GB, free: 10.2 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/1.348, allocations: 0 / 1.376 GB, free: 10.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/1.348, allocations: 6.469 kB / 1.376 GB, free: 10.19 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/1.348, allocations: 10.56 kB / 1.376 GB, free: 10.18 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/1.348, allocations: 115.4 kB / 1.376 GB, free: 10.15 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002795/1.351, allocations: 0.9974 MB / 1.377 GB, free: 9.504 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008574/1.352, allocations: 150.7 kB / 1.377 GB, free: 9.441 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/1.352, allocations: 83.8 kB / 1.377 GB, free: 9.41 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/1.352, allocations: 2.312 kB / 1.377 GB, free: 9.41 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003893/1.352, allocations: 193.2 kB / 1.377 GB, free: 9.285 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/1.352, allocations: 1.156 kB / 1.377 GB, free: 9.285 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.004472/1.357, allocations: 0.8555 MB / 1.378 GB, free: 8.801 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/1.357, allocations: 89.27 kB / 1.378 GB, free: 8.699 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005301/1.357, allocations: 337.4 kB / 1.378 GB, free: 8.477 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-05/1.357, allocations: 36.36 kB / 1.378 GB, free: 8.438 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/1.358, allocations: 157.6 kB / 1.379 GB, free: 8.289 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/1.358, allocations: 51.41 kB / 1.379 GB, free: 8.246 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/1.358, allocations: 92.28 kB / 1.379 GB, free: 8.18 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.358, allocations: 341.9 kB / 1.379 GB, free: 7.844 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/1.358, allocations: 141.2 kB / 1.379 GB, free: 7.777 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/1.359, allocations: 230.1 kB / 1.379 GB, free: 7.633 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007562/1.36, allocations: 337.5 kB / 1.38 GB, free: 7.41 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/1.36, allocations: 0 / 1.38 GB, free: 7.41 MB / 1.076 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004061/1.364, allocations: 0.8593 MB / 1.381 GB, free: 6.965 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/1.364, allocations: 45.72 kB / 1.381 GB, free: 6.922 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.364, allocations: 1.312 kB / 1.381 GB, free: 6.922 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009915/1.365, allocations: 192.2 kB / 1.381 GB, free: 6.824 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/1.365, allocations: 40.75 kB / 1.381 GB, free: 6.812 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003485/1.368, allocations: 2.339 MB / 1.383 GB, free: 4.559 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/1.369, allocations: 56.25 kB / 1.383 GB, free: 4.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.642e-05/1.369, allocations: 20.44 kB / 1.383 GB, free: 4.512 MB / 1.076 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.0003412/1.37, allocations: 188.3 kB / 1.383 GB, free: 4.34 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/1.37, allocations: 31.69 kB / 1.383 GB, free: 4.324 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/1.37, allocations: 26.95 kB / 1.383 GB, free: 4.305 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/1.37, allocations: 1.312 kB / 1.383 GB, free: 4.305 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.37, allocations: 4.875 kB / 1.383 GB, free: 4.301 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/1.37, allocations: 5.25 kB / 1.383 GB, free: 4.297 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003701/1.373, allocations: 1.036 MB / 1.384 GB, free: 3.582 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/1.373, allocations: 4 kB / 1.384 GB, free: 3.578 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-05/1.374, allocations: 9.062 kB / 1.384 GB, free: 3.574 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003482/1.374, allocations: 115.8 kB / 1.385 GB, free: 3.512 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/1.374, allocations: 7.906 kB / 1.385 GB, free: 3.508 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/1.375, allocations: 0.7515 MB / 1.385 GB, free: 2.824 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.375, allocations: 0 / 1.385 GB, free: 2.824 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003502/1.379, allocations: 0.88 MB / 1.386 GB, free: 2.312 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/1.379, allocations: 135.1 kB / 1.386 GB, free: 2.176 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.254e-05/1.379, allocations: 7.969 kB / 1.386 GB, free: 2.172 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/1.379, allocations: 15.14 kB / 1.386 GB, free: 2.164 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/1.379, allocations: 8.703 kB / 1.386 GB, free: 2.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/1.379, allocations: 9.734 kB / 1.386 GB, free: 2.156 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003392/1.38, allocations: 238 kB / 1.387 GB, free: 2.008 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.38, allocations: 1.125 kB / 1.387 GB, free: 2.008 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006633/1.38, allocations: 118.7 kB / 1.387 GB, free: 1.984 MB / 1.076 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.0005027/1.381, allocations: 190 kB / 1.387 GB, free: 1.852 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001822/1.383, allocations: 0.522 MB / 1.387 GB, free: 1.508 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.383, allocations: 0 / 1.387 GB, free: 1.508 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000832/1.383, allocations: 223.7 kB / 1.388 GB, free: 1.363 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/1.384, allocations: 68.94 kB / 1.388 GB, free: 1.32 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/1.386, allocations: 0.6233 MB / 1.388 GB, free: 0.9102 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/1.386, allocations: 0.7625 MB / 1.389 GB, free: 180 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002105/1.386, allocations: 28.84 kB / 1.389 GB, free: 164 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/1.386, allocations: 20 kB / 1.389 GB, free: 160 kB / 1.076 GB Notification: Performance of SimCode: time 9.62e-07/1.386, allocations: 0 / 1.389 GB, free: 160 kB / 1.076 GB Notification: Performance of Templates: time 0.01726/1.404, allocations: 7.262 MB / 1.396 GB, free: 12.52 MB / 1.092 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches