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.001895/0.001895, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002479/0.002479, allocations: 158.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.555/1.555, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 3.078/3.078, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] 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 3.346e-06/3.346e-06, allocations: 4 kB / 1 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.407e-05, allocations: 2.281 kB / 1 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003929/0.003963, allocations: 2.31 MB / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 1.014/1.017, allocations: 132.7 MB / 1.132 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002922/1.018, allocations: 2.906 kB / 1.132 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004083/1.018, allocations: 95.22 kB / 1.132 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0008106/1.019, allocations: 244.6 kB / 1.132 GB, free: 45.19 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/1.021, allocations: 0.6797 MB / 1.133 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006202/1.022, allocations: 443.1 kB / 1.133 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/1.022, allocations: 35.95 kB / 1.133 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003082/1.022, allocations: 253.3 kB / 1.134 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/1.022, allocations: 171.5 kB / 1.134 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.278e-05/1.023, allocations: 29.72 kB / 1.134 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/1.024, allocations: 0.6008 MB / 1.135 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/1.024, allocations: 87.92 kB / 1.135 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/1.024, allocations: 115.9 kB / 1.135 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008947/1.025, allocations: 0.7415 MB / 1.135 GB, free: 45.11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/1.025, allocations: 0 / 1.135 GB, free: 45.11 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.333e-06/1.025, allocations: 0 / 1.135 GB, free: 45.11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.144e-06/1.025, allocations: 0 / 1.135 GB, free: 45.11 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.001462/1.026, allocations: 0.6969 MB / 1.136 GB, free: 44.66 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/1.026, allocations: 10.09 kB / 1.136 GB, free: 44.66 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/1.028, allocations: 192.9 kB / 1.136 GB, free: 44.64 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/1.029, allocations: 254.9 kB / 1.137 GB, free: 44.48 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.481e-05/1.029, allocations: 46.56 kB / 1.137 GB, free: 44.45 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.814e-05/1.029, allocations: 26.45 kB / 1.137 GB, free: 44.44 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00042/1.029, allocations: 238.3 kB / 1.137 GB, free: 44.35 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/1.029, allocations: 0.5938 kB / 1.137 GB, free: 44.35 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/1.029, allocations: 7.562 kB / 1.137 GB, free: 44.35 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/1.029, allocations: 5.094 kB / 1.137 GB, free: 44.35 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/1.029, allocations: 152.8 kB / 1.137 GB, free: 44.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/1.032, allocations: 0.8476 MB / 1.138 GB, free: 43.94 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007881/1.032, allocations: 183 kB / 1.138 GB, free: 43.88 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/1.033, allocations: 114.4 kB / 1.138 GB, free: 43.84 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/1.033, allocations: 3.625 kB / 1.138 GB, free: 43.84 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003395/1.033, allocations: 224.5 kB / 1.138 GB, free: 43.73 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 1.964e-06/1.033, allocations: 1.125 kB / 1.138 GB, free: 43.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.004389/1.037, allocations: 0.875 MB / 1.139 GB, free: 43.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/1.037, allocations: 84.11 kB / 1.139 GB, free: 43.48 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/1.038, allocations: 318.4 kB / 1.14 GB, free: 43.38 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.614e-05/1.038, allocations: 31.61 kB / 1.14 GB, free: 43.34 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/1.038, allocations: 160 kB / 1.14 GB, free: 43.25 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/1.038, allocations: 54.73 kB / 1.14 GB, free: 43.21 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/1.038, allocations: 90.88 kB / 1.14 GB, free: 43.19 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.619e-05/1.038, allocations: 346.7 kB / 1.14 GB, free: 42.88 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/1.039, allocations: 169.3 kB / 1.14 GB, free: 42.84 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004634/1.039, allocations: 356.8 kB / 1.141 GB, free: 42.64 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000624/1.04, allocations: 342.5 kB / 1.141 GB, free: 42.54 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.04, allocations: 0 / 1.141 GB, free: 42.54 MB / 1.076 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003668/1.043, allocations: 0.9175 MB / 1.142 GB, free: 42.4 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/1.043, allocations: 38.64 kB / 1.142 GB, free: 42.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.043, allocations: 0 / 1.142 GB, free: 42.37 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009127/1.044, allocations: 201.7 kB / 1.142 GB, free: 42.35 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/1.045, allocations: 37.53 kB / 1.142 GB, free: 42.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/1.047, allocations: 2.207 MB / 1.144 GB, free: 40.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/1.047, allocations: 45.52 kB / 1.144 GB, free: 40.53 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/1.048, allocations: 16.39 kB / 1.144 GB, free: 40.53 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.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.0002189/1.048, allocations: 184.4 kB / 1.145 GB, free: 40.38 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/1.048, allocations: 36.67 kB / 1.145 GB, free: 40.36 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/1.048, allocations: 35.59 kB / 1.145 GB, free: 40.36 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/1.048, allocations: 0.9688 kB / 1.145 GB, free: 40.36 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/1.048, allocations: 0 / 1.145 GB, free: 40.36 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.048, allocations: 0 / 1.145 GB, free: 40.36 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/1.051, allocations: 0.9907 MB / 1.146 GB, free: 40.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.051, allocations: 4.844 kB / 1.146 GB, free: 40.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.155e-05/1.051, allocations: 13.12 kB / 1.146 GB, free: 40.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000282/1.051, allocations: 111 kB / 1.146 GB, free: 40.03 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/1.051, allocations: 5.594 kB / 1.146 GB, free: 40.03 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007311/1.052, allocations: 0.751 MB / 1.146 GB, free: 39.44 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.052, allocations: 0 / 1.146 GB, free: 39.44 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/1.055, allocations: 0.9405 MB / 1.147 GB, free: 39.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/1.055, allocations: 60.84 kB / 1.147 GB, free: 39.16 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/1.055, allocations: 9.688 kB / 1.147 GB, free: 39.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/1.055, allocations: 11.77 kB / 1.147 GB, free: 39.16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/1.056, allocations: 13.88 kB / 1.148 GB, free: 39.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/1.056, allocations: 16.94 kB / 1.148 GB, free: 39.15 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002504/1.056, allocations: 222 kB / 1.148 GB, free: 39.07 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.056, allocations: 0 / 1.148 GB, free: 39.07 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005933/1.056, allocations: 123.8 kB / 1.148 GB, free: 39.06 MB / 1.076 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.000408/1.057, allocations: 190.4 kB / 1.148 GB, free: 38.97 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001503/1.058, allocations: 0.5931 MB / 1.149 GB, free: 38.72 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.058, allocations: 3.75 kB / 1.149 GB, free: 38.72 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007153/1.059, allocations: 261.4 kB / 1.149 GB, free: 38.6 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/1.06, allocations: 59.97 kB / 1.149 GB, free: 38.6 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/1.061, allocations: 0.5962 MB / 1.15 GB, free: 38.32 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/1.061, allocations: 157.3 kB / 1.15 GB, free: 38.24 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001192/1.061, allocations: 29.92 kB / 1.15 GB, free: 38.24 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/1.061, allocations: 20.53 kB / 1.15 GB, free: 38.23 MB / 1.076 GB Notification: Performance of SimCode: time 5.21e-07/1.061, allocations: 3.938 kB / 1.15 GB, free: 38.23 MB / 1.076 GB Notification: Performance of Templates: time 0.01283/1.074, allocations: 7.681 MB / 1.157 GB, free: 37.66 MB / 1.076 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: 10.392037712037563]