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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00212/0.00212, allocations: 198.4 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.826/2.826, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|eva.m|eva.mEva_flow|eva.mAir_flow|int.y",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 75.88 kB / 1.109 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8561/0.8581, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004281/0.8623, allocations: 2.417 MB / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.2001/1.062, allocations: 151.5 MB / 1.424 GB, free: 10.05 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002674/1.063, allocations: 4 kB / 1.424 GB, free: 10.05 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0004125/1.063, allocations: 99.42 kB / 1.424 GB, free: 9.953 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0007979/1.064, allocations: 242.6 kB / 1.425 GB, free: 9.715 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/1.066, allocations: 0.6628 MB / 1.425 GB, free: 9.059 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0006045/1.066, allocations: 434.6 kB / 1.426 GB, free: 8.633 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/1.066, allocations: 32.72 kB / 1.426 GB, free: 8.602 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/1.067, allocations: 183.4 kB / 1.426 GB, free: 8.422 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003653/1.067, allocations: 207.3 kB / 1.426 GB, free: 8.219 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.821e-05/1.067, allocations: 32 kB / 1.426 GB, free: 8.188 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/1.068, allocations: 0.6472 MB / 1.427 GB, free: 7.539 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/1.069, allocations: 83.72 kB / 1.427 GB, free: 7.457 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001888/1.069, allocations: 163.2 kB / 1.427 GB, free: 7.297 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/1.07, allocations: 0.6568 MB / 1.428 GB, free: 6.641 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/1.07, allocations: 4 kB / 1.428 GB, free: 6.637 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.613e-06/1.07, allocations: 0 / 1.428 GB, free: 6.637 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.073e-06/1.07, allocations: 3.938 kB / 1.428 GB, free: 6.633 MB / 1.123 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.001787/1.072, allocations: 0.7612 MB / 1.428 GB, free: 5.812 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/1.072, allocations: 12.03 kB / 1.428 GB, free: 5.801 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/1.073, allocations: 160.5 kB / 1.429 GB, free: 5.645 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/1.074, allocations: 326.8 kB / 1.429 GB, free: 5.285 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.448e-05/1.074, allocations: 41.7 kB / 1.429 GB, free: 5.238 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/1.074, allocations: 23.95 kB / 1.429 GB, free: 5.215 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/1.074, allocations: 220 kB / 1.429 GB, free: 4.984 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/1.075, allocations: 0 / 1.429 GB, free: 4.984 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/1.075, allocations: 4 kB / 1.429 GB, free: 4.98 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.075, allocations: 4 kB / 1.429 GB, free: 4.977 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/1.075, allocations: 120.1 kB / 1.429 GB, free: 4.859 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002741/1.078, allocations: 0.9927 MB / 1.43 GB, free: 3.809 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008706/1.078, allocations: 153.6 kB / 1.43 GB, free: 3.652 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/1.079, allocations: 80.83 kB / 1.431 GB, free: 3.57 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/1.079, allocations: 0 / 1.431 GB, free: 3.57 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004348/1.079, allocations: 201 kB / 1.431 GB, free: 3.355 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 2.054e-06/1.079, allocations: 0 / 1.431 GB, free: 3.355 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.004604/1.084, allocations: 0.8699 MB / 1.432 GB, free: 2.453 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/1.084, allocations: 85.09 kB / 1.432 GB, free: 2.352 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000483/1.084, allocations: 336.5 kB / 1.432 GB, free: 2.016 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.706e-05/1.084, allocations: 33.7 kB / 1.432 GB, free: 1.977 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/1.085, allocations: 152.6 kB / 1.432 GB, free: 1.824 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/1.085, allocations: 55.58 kB / 1.432 GB, free: 1.77 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/1.085, allocations: 89.89 kB / 1.432 GB, free: 1.672 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001726/1.085, allocations: 342.8 kB / 1.433 GB, free: 1.328 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/1.085, allocations: 144.5 kB / 1.433 GB, free: 1.188 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004483/1.086, allocations: 221.3 kB / 1.433 GB, free: 0.957 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006988/1.087, allocations: 340.7 kB / 1.433 GB, free: 0.5977 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.087, allocations: 0 / 1.433 GB, free: 0.5977 MB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003864/1.09, allocations: 0.8618 MB / 1.434 GB, free: 15.71 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 5.196e-05/1.09, allocations: 35.27 kB / 1.434 GB, free: 15.68 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/1.09, allocations: 0 / 1.434 GB, free: 15.68 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009792/1.091, allocations: 205.5 kB / 1.434 GB, free: 15.47 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/1.092, allocations: 35.92 kB / 1.434 GB, free: 15.44 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0035/1.095, allocations: 2.344 MB / 1.437 GB, free: 12.92 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/1.096, allocations: 51.59 kB / 1.437 GB, free: 12.87 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/1.096, allocations: 23.97 kB / 1.437 GB, free: 12.85 MB / 1.139 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.a,mAir_flow.b,mAir_flow.last,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.nextEventScaled,$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.0003064/1.096, allocations: 190 kB / 1.437 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/1.096, allocations: 31.81 kB / 1.437 GB, free: 12.62 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/1.096, allocations: 27.17 kB / 1.437 GB, free: 12.59 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.096, allocations: 0 / 1.437 GB, free: 12.59 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.096, allocations: 4 kB / 1.437 GB, free: 12.59 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/1.096, allocations: 3.938 kB / 1.437 GB, free: 12.58 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003515/1.1, allocations: 1.035 MB / 1.438 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.1, allocations: 0 / 1.438 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-05/1.1, allocations: 4 kB / 1.438 GB, free: 11.48 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003485/1.1, allocations: 124.8 kB / 1.438 GB, free: 11.35 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/1.1, allocations: 15.92 kB / 1.438 GB, free: 11.34 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/1.101, allocations: 0.7343 MB / 1.439 GB, free: 10.58 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.101, allocations: 4 kB / 1.439 GB, free: 10.57 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003419/1.105, allocations: 0.8781 MB / 1.44 GB, free: 9.672 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/1.105, allocations: 136.8 kB / 1.44 GB, free: 9.52 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/1.105, allocations: 8 kB / 1.44 GB, free: 9.512 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/1.105, allocations: 8 kB / 1.44 GB, free: 9.504 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/1.105, allocations: 15.97 kB / 1.44 GB, free: 9.488 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/1.105, allocations: 12.06 kB / 1.44 GB, free: 9.477 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0003562/1.106, allocations: 239 kB / 1.44 GB, free: 9.246 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.106, allocations: 0 / 1.44 GB, free: 9.246 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005918/1.106, allocations: 111.9 kB / 1.44 GB, free: 9.137 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (int.y,eva.m) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,mAir_flow.nextEventScaled,mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,eva.off) * 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.0004114/1.107, allocations: 183.6 kB / 1.44 GB, free: 8.949 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001682/1.108, allocations: 0.5299 MB / 1.441 GB, free: 8.391 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.108, allocations: 0 / 1.441 GB, free: 8.391 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0007658/1.109, allocations: 228.1 kB / 1.441 GB, free: 8.152 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000535/1.11, allocations: 60.92 kB / 1.441 GB, free: 8.086 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/1.111, allocations: 0.6339 MB / 1.442 GB, free: 7.438 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/1.112, allocations: 0.756 MB / 1.443 GB, free: 6.656 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001511/1.112, allocations: 34.28 kB / 1.443 GB, free: 6.621 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.693e-05/1.112, allocations: 31.42 kB / 1.443 GB, free: 6.594 MB / 1.139 GB Notification: Performance of SimCode: time 5.91e-07/1.112, allocations: 0 / 1.443 GB, free: 6.594 MB / 1.139 GB Notification: Performance of Templates: time 0.01463/1.126, allocations: 7.364 MB / 1.45 GB, free: 15.29 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.417888562195003]