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.001843/0.001843, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001219/0.001219, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.787/2.787, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 68.11 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8971/0.8987, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004516/0.9032, allocations: 2.392 MB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1774/1.081, allocations: 151 MB / 1.358 GB, free: 3.629 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/1.081, allocations: 4 kB / 1.358 GB, free: 3.625 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000491/1.082, allocations: 95.42 kB / 1.358 GB, free: 3.531 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0009499/1.083, allocations: 238.5 kB / 1.359 GB, free: 3.297 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002002/1.085, allocations: 0.6523 MB / 1.359 GB, free: 2.652 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0007155/1.085, allocations: 446.5 kB / 1.36 GB, free: 2.215 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/1.085, allocations: 40.73 kB / 1.36 GB, free: 2.176 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/1.086, allocations: 187.4 kB / 1.36 GB, free: 1.992 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004543/1.086, allocations: 191.4 kB / 1.36 GB, free: 1.805 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.405e-05/1.086, allocations: 32 kB / 1.36 GB, free: 1.773 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/1.088, allocations: 0.6278 MB / 1.361 GB, free: 1.145 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/1.088, allocations: 83.72 kB / 1.361 GB, free: 1.062 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002189/1.088, allocations: 175.1 kB / 1.361 GB, free: 0.8906 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/1.089, allocations: 0.6564 MB / 1.362 GB, free: 240 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.089, allocations: 0 / 1.362 GB, free: 240 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.553e-06/1.089, allocations: 0 / 1.362 GB, free: 240 kB / 1.076 GB Notification: Performance of Transformations before backend: time 1.424e-05/1.089, allocations: 0 / 1.362 GB, free: 240 kB / 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.001901/1.091, allocations: 0.7416 MB / 1.362 GB, free: 15.44 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/1.091, allocations: 12.03 kB / 1.362 GB, free: 15.43 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/1.093, allocations: 160.4 kB / 1.362 GB, free: 15.27 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005734/1.094, allocations: 318.6 kB / 1.363 GB, free: 14.92 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.107e-05/1.094, allocations: 41.7 kB / 1.363 GB, free: 14.88 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.339e-05/1.094, allocations: 24 kB / 1.363 GB, free: 14.85 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004561/1.094, allocations: 209.4 kB / 1.363 GB, free: 14.63 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.094, allocations: 0 / 1.363 GB, free: 14.63 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/1.094, allocations: 4 kB / 1.363 GB, free: 14.63 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/1.094, allocations: 4 kB / 1.363 GB, free: 14.62 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/1.095, allocations: 120.1 kB / 1.363 GB, free: 14.51 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002709/1.097, allocations: 0.9925 MB / 1.364 GB, free: 13.46 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008324/1.098, allocations: 166.4 kB / 1.364 GB, free: 13.29 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/1.099, allocations: 96.83 kB / 1.364 GB, free: 13.19 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/1.099, allocations: 0 / 1.364 GB, free: 13.19 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003818/1.099, allocations: 194.5 kB / 1.365 GB, free: 12.98 MB / 1.092 GB Notification: Performance of pre-optimization done (n=19): time 2.043e-06/1.099, allocations: 0 / 1.365 GB, free: 12.98 MB / 1.092 GB Notification: Performance of matching and sorting (n=19): time 0.004321/1.103, allocations: 0.8694 MB / 1.365 GB, free: 12.08 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/1.103, allocations: 85.11 kB / 1.365 GB, free: 11.98 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/1.104, allocations: 344.4 kB / 1.366 GB, free: 11.63 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.128e-05/1.104, allocations: 33.7 kB / 1.366 GB, free: 11.59 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/1.104, allocations: 148.6 kB / 1.366 GB, free: 11.45 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.393e-05/1.104, allocations: 55.19 kB / 1.366 GB, free: 11.39 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/1.104, allocations: 89.92 kB / 1.366 GB, free: 11.29 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.105, allocations: 342.8 kB / 1.366 GB, free: 10.95 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/1.105, allocations: 140.5 kB / 1.367 GB, free: 10.81 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004237/1.105, allocations: 213.4 kB / 1.367 GB, free: 10.59 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006685/1.106, allocations: 336.9 kB / 1.367 GB, free: 10.23 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/1.106, allocations: 0 / 1.367 GB, free: 10.23 MB / 1.092 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003835/1.11, allocations: 0.8607 MB / 1.368 GB, free: 9.355 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 5.708e-05/1.11, allocations: 41.69 kB / 1.368 GB, free: 9.309 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.11, allocations: 4 kB / 1.368 GB, free: 9.305 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009595/1.111, allocations: 189.7 kB / 1.368 GB, free: 9.113 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/1.111, allocations: 47.89 kB / 1.368 GB, free: 9.066 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003174/1.114, allocations: 2.343 MB / 1.37 GB, free: 6.559 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/1.115, allocations: 47.52 kB / 1.371 GB, free: 6.512 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.621e-05/1.115, allocations: 23.97 kB / 1.371 GB, free: 6.488 MB / 1.092 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.0003264/1.115, allocations: 186.2 kB / 1.371 GB, free: 6.293 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/1.115, allocations: 31.62 kB / 1.371 GB, free: 6.262 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.658e-05/1.116, allocations: 31.17 kB / 1.371 GB, free: 6.23 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/1.116, allocations: 0 / 1.371 GB, free: 6.23 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.116, allocations: 0 / 1.371 GB, free: 6.23 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/1.116, allocations: 8.062 kB / 1.371 GB, free: 6.223 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003404/1.119, allocations: 1.039 MB / 1.372 GB, free: 5.117 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.119, allocations: 3.984 kB / 1.372 GB, free: 5.113 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-05/1.119, allocations: 4 kB / 1.372 GB, free: 5.109 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000351/1.119, allocations: 116.8 kB / 1.372 GB, free: 4.992 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/1.119, allocations: 11.94 kB / 1.372 GB, free: 4.98 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009945/1.12, allocations: 0.7497 MB / 1.373 GB, free: 4.207 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.12, allocations: 0 / 1.373 GB, free: 4.207 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003209/1.124, allocations: 0.8684 MB / 1.373 GB, free: 3.312 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/1.124, allocations: 132.7 kB / 1.374 GB, free: 3.164 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.097e-05/1.124, allocations: 8 kB / 1.374 GB, free: 3.156 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/1.124, allocations: 11.98 kB / 1.374 GB, free: 3.145 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/1.124, allocations: 7.984 kB / 1.374 GB, free: 3.137 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/1.124, allocations: 15.98 kB / 1.374 GB, free: 3.121 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003027/1.125, allocations: 239.1 kB / 1.374 GB, free: 2.891 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.125, allocations: 0 / 1.374 GB, free: 2.891 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005596/1.125, allocations: 116 kB / 1.374 GB, free: 2.777 MB / 1.092 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.0004199/1.126, allocations: 183.1 kB / 1.374 GB, free: 2.586 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00168/1.127, allocations: 0.5734 MB / 1.375 GB, free: 1.984 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.127, allocations: 0 / 1.375 GB, free: 1.984 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007589/1.128, allocations: 268.2 kB / 1.375 GB, free: 1.707 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/1.129, allocations: 71.84 kB / 1.375 GB, free: 1.641 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/1.13, allocations: 0.6255 MB / 1.376 GB, free: 0.9805 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/1.131, allocations: 0.756 MB / 1.376 GB, free: 204 kB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.891e-05/1.131, allocations: 23.42 kB / 1.376 GB, free: 180 kB / 1.092 GB Notification: Performance of SimCode: time 3.31e-07/1.131, allocations: 4 kB / 1.376 GB, free: 176 kB / 1.092 GB Notification: Performance of Templates: time 0.01058/1.141, allocations: 6.528 MB / 1.383 GB, free: 9.672 MB / 1.107 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