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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008207/0.0008207, allocations: 76.55 kB / 19.93 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000998/0.000998, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9538/0.9538, allocations: 177.2 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.848/1.848, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.832e-05/3.986e-05, allocations: 2.281 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003032/0.003072, allocations: 2.298 MB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6325/0.6356, allocations: 132.7 MB / 1.133 GB, free: 280 kB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.6358, allocations: 1.406 kB / 1.133 GB, free: 280 kB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.6361, allocations: 87.98 kB / 1.133 GB, free: 244 kB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006752/0.6368, allocations: 252.3 kB / 1.133 GB, free: 104 kB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.6384, allocations: 0.6696 MB / 1.134 GB, free: 15.78 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0005817/0.639, allocations: 454.7 kB / 1.134 GB, free: 15.57 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.6391, allocations: 35.95 kB / 1.134 GB, free: 15.55 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/0.6394, allocations: 247.8 kB / 1.134 GB, free: 15.46 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003147/0.6397, allocations: 174 kB / 1.135 GB, free: 15.41 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.946e-05/0.6398, allocations: 33.19 kB / 1.135 GB, free: 15.41 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.6412, allocations: 0.5988 MB / 1.135 GB, free: 15.23 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.6413, allocations: 78.19 kB / 1.135 GB, free: 15.19 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.6414, allocations: 117.4 kB / 1.135 GB, free: 15.14 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.6425, allocations: 0.7481 MB / 1.136 GB, free: 14.87 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6425, allocations: 1.156 kB / 1.136 GB, free: 14.87 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6425, allocations: 0 / 1.136 GB, free: 14.87 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.6425, allocations: 3.938 kB / 1.136 GB, free: 14.86 MB / 1.01 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.001249/0.6438, allocations: 0.6886 MB / 1.137 GB, free: 14.36 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.6438, allocations: 14.66 kB / 1.137 GB, free: 14.36 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.6448, allocations: 191.8 kB / 1.137 GB, free: 14.33 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.6453, allocations: 254.9 kB / 1.137 GB, free: 14.13 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.676e-05/0.6454, allocations: 54.36 kB / 1.137 GB, free: 14.09 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.6454, allocations: 22.86 kB / 1.137 GB, free: 14.08 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.6458, allocations: 232.7 kB / 1.138 GB, free: 13.95 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.6458, allocations: 0 / 1.138 GB, free: 13.95 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.6458, allocations: 10.33 kB / 1.138 GB, free: 13.94 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.6458, allocations: 2.719 kB / 1.138 GB, free: 13.94 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.646, allocations: 157.5 kB / 1.138 GB, free: 13.86 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.6475, allocations: 0.8406 MB / 1.139 GB, free: 13.33 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/0.648, allocations: 189 kB / 1.139 GB, free: 13.23 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.6481, allocations: 112.8 kB / 1.139 GB, free: 13.16 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.6482, allocations: 1.188 kB / 1.139 GB, free: 13.16 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002983/0.6485, allocations: 225.7 kB / 1.139 GB, free: 13.02 MB / 1.01 GB Notification: Performance of pre-optimization done (n=19): time 1.874e-06/0.6485, allocations: 1.125 kB / 1.139 GB, free: 13.02 MB / 1.01 GB Notification: Performance of matching and sorting (n=19): time 0.002438/0.6509, allocations: 0.8769 MB / 1.14 GB, free: 12.71 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.6509, allocations: 82.64 kB / 1.14 GB, free: 12.62 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.6512, allocations: 319.2 kB / 1.14 GB, free: 12.45 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.6513, allocations: 34.47 kB / 1.14 GB, free: 12.42 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.6514, allocations: 159.1 kB / 1.141 GB, free: 12.28 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/0.6514, allocations: 56.64 kB / 1.141 GB, free: 12.23 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.6516, allocations: 84.45 kB / 1.141 GB, free: 12.19 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.6517, allocations: 343 kB / 1.141 GB, free: 11.86 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.6519, allocations: 172.9 kB / 1.141 GB, free: 11.78 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/0.6523, allocations: 352.3 kB / 1.141 GB, free: 11.52 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.6527, allocations: 351.9 kB / 1.142 GB, free: 11.31 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6527, allocations: 1.625 kB / 1.142 GB, free: 11.31 MB / 1.01 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002117/0.6549, allocations: 0.9104 MB / 1.143 GB, free: 10.98 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.6549, allocations: 44.2 kB / 1.143 GB, free: 10.95 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.6549, allocations: 5.5 kB / 1.143 GB, free: 10.94 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005567/0.6555, allocations: 191.3 kB / 1.143 GB, free: 10.89 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.6556, allocations: 43.78 kB / 1.143 GB, free: 10.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.6576, allocations: 2.207 MB / 1.145 GB, free: 8.891 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.6579, allocations: 40.81 kB / 1.145 GB, free: 8.871 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.658, allocations: 25.5 kB / 1.145 GB, free: 8.863 MB / 1.01 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.000224/0.6582, allocations: 185.9 kB / 1.145 GB, free: 8.699 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.6582, allocations: 38.94 kB / 1.145 GB, free: 8.676 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.6583, allocations: 23.45 kB / 1.145 GB, free: 8.664 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6583, allocations: 3.078 kB / 1.145 GB, free: 8.664 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.6583, allocations: 0 / 1.145 GB, free: 8.664 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.6583, allocations: 3.547 kB / 1.145 GB, free: 8.664 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.6603, allocations: 0.9923 MB / 1.146 GB, free: 8.176 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/0.6603, allocations: 0 / 1.146 GB, free: 8.176 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.6603, allocations: 6.938 kB / 1.146 GB, free: 8.176 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000218/0.6605, allocations: 122 kB / 1.147 GB, free: 8.129 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.6605, allocations: 6.266 kB / 1.147 GB, free: 8.129 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008646/0.6614, allocations: 0.7478 MB / 1.147 GB, free: 7.48 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6614, allocations: 3.938 kB / 1.147 GB, free: 7.477 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.6633, allocations: 0.9468 MB / 1.148 GB, free: 7.051 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.6634, allocations: 53.78 kB / 1.148 GB, free: 7.023 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.6634, allocations: 10.38 kB / 1.148 GB, free: 7.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.6635, allocations: 15.67 kB / 1.148 GB, free: 7.016 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.6636, allocations: 14.38 kB / 1.148 GB, free: 7.012 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.6636, allocations: 12.14 kB / 1.148 GB, free: 7.008 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002134/0.6638, allocations: 219.7 kB / 1.148 GB, free: 6.895 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6638, allocations: 64 / 1.148 GB, free: 6.895 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005226/0.6644, allocations: 129 kB / 1.149 GB, free: 6.867 MB / 1.01 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.0003449/0.6647, allocations: 193.4 kB / 1.149 GB, free: 6.75 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001076/0.6658, allocations: 0.5891 MB / 1.149 GB, free: 6.395 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.6658, allocations: 4.875 kB / 1.149 GB, free: 6.391 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004504/0.6662, allocations: 259.6 kB / 1.15 GB, free: 6.238 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.6666, allocations: 64.95 kB / 1.15 GB, free: 6.219 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.6677, allocations: 0.6314 MB / 1.15 GB, free: 5.828 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.6678, allocations: 146.6 kB / 1.15 GB, free: 5.754 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.6679, allocations: 27.36 kB / 1.15 GB, free: 5.746 MB / 1.01 GB Notification: Performance of SimCode: time 7.32e-07/0.6679, allocations: 0 / 1.15 GB, free: 5.746 MB / 1.01 GB Notification: Performance of Templates: time 0.01104/0.6789, allocations: 6.631 MB / 1.157 GB, free: 5.137 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.131301635876298]