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.001672/0.001672, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002304/0.002304, allocations: 214.5 kB / 22.25 MB, free: 5.262 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.614/1.614, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.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.75/3.75, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 65.69 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4953/0.4974, allocations: 181.9 MB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004832/0.5022, allocations: 2.309 MB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2238/0.726, allocations: 132.7 MB / 1.496 GB, free: 5.992 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.7263, allocations: 4 kB / 1.496 GB, free: 5.988 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004517/0.7267, allocations: 83.45 kB / 1.496 GB, free: 5.906 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0008541/0.7276, allocations: 256.7 kB / 1.496 GB, free: 5.656 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.7296, allocations: 0.6593 MB / 1.497 GB, free: 5.004 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0006159/0.7302, allocations: 438.5 kB / 1.497 GB, free: 4.574 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.7303, allocations: 32.91 kB / 1.497 GB, free: 4.543 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.7306, allocations: 187.4 kB / 1.497 GB, free: 4.359 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004063/0.731, allocations: 195.3 kB / 1.497 GB, free: 4.168 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.52e-05/0.7311, allocations: 32 kB / 1.498 GB, free: 4.137 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.7323, allocations: 0.5926 MB / 1.498 GB, free: 3.543 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.7325, allocations: 83.72 kB / 1.498 GB, free: 3.461 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.7327, allocations: 139.4 kB / 1.498 GB, free: 3.324 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.7337, allocations: 0.6618 MB / 1.499 GB, free: 2.66 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.7337, allocations: 0 / 1.499 GB, free: 2.66 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7337, allocations: 0 / 1.499 GB, free: 2.66 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.7337, allocations: 0 / 1.499 GB, free: 2.66 MB / 1.186 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.001807/0.7355, allocations: 0.7053 MB / 1.5 GB, free: 1.914 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.7356, allocations: 8.031 kB / 1.5 GB, free: 1.906 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001861/0.7374, allocations: 192.5 kB / 1.5 GB, free: 1.719 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006522/0.7381, allocations: 261.7 kB / 1.5 GB, free: 1.438 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.61e-05/0.7382, allocations: 45.66 kB / 1.5 GB, free: 1.387 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.232e-05/0.7383, allocations: 24 kB / 1.5 GB, free: 1.363 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.7387, allocations: 242.2 kB / 1.5 GB, free: 1.105 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.7388, allocations: 0 / 1.5 GB, free: 1.105 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.7388, allocations: 4 kB / 1.5 GB, free: 1.102 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.946e-06/0.7388, allocations: 4 kB / 1.5 GB, free: 1.098 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.7391, allocations: 149.8 kB / 1.501 GB, free: 0.9453 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/0.7416, allocations: 0.8634 MB / 1.501 GB, free: 44 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008853/0.7425, allocations: 184.3 kB / 1.502 GB, free: 15.84 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.7428, allocations: 118.5 kB / 1.502 GB, free: 15.72 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.7428, allocations: 0 / 1.502 GB, free: 15.72 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004215/0.7432, allocations: 222.6 kB / 1.502 GB, free: 15.48 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 1.743e-06/0.7432, allocations: 0 / 1.502 GB, free: 15.48 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.004417/0.7476, allocations: 0.8676 MB / 1.503 GB, free: 14.59 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/0.7477, allocations: 85.09 kB / 1.503 GB, free: 14.48 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.7482, allocations: 320.4 kB / 1.503 GB, free: 14.16 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/0.7482, allocations: 33.7 kB / 1.503 GB, free: 14.12 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.7484, allocations: 156.9 kB / 1.503 GB, free: 13.96 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.454e-05/0.7484, allocations: 63.48 kB / 1.503 GB, free: 13.9 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.7486, allocations: 85.94 kB / 1.503 GB, free: 13.81 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.7488, allocations: 346.7 kB / 1.504 GB, free: 13.46 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.7492, allocations: 162.2 kB / 1.504 GB, free: 13.3 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.7497, allocations: 357.9 kB / 1.504 GB, free: 12.9 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000731/0.7505, allocations: 348.9 kB / 1.505 GB, free: 12.54 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.7505, allocations: 0 / 1.505 GB, free: 12.54 MB / 1.201 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003903/0.7544, allocations: 0.9094 MB / 1.505 GB, free: 11.6 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.582e-05/0.7544, allocations: 37.69 kB / 1.506 GB, free: 11.56 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.7544, allocations: 0 / 1.506 GB, free: 11.56 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009564/0.7554, allocations: 197.7 kB / 1.506 GB, free: 11.36 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.7556, allocations: 43.91 kB / 1.506 GB, free: 11.32 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003445/0.7591, allocations: 2.206 MB / 1.508 GB, free: 8.98 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004491/0.7595, allocations: 47.77 kB / 1.508 GB, free: 8.934 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/0.7596, allocations: 19.98 kB / 1.508 GB, free: 8.914 MB / 1.201 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.0003061/0.7599, allocations: 195.7 kB / 1.508 GB, free: 8.711 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.7599, allocations: 31.81 kB / 1.508 GB, free: 8.68 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.76, allocations: 26.25 kB / 1.508 GB, free: 8.648 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.76, allocations: 4 kB / 1.508 GB, free: 8.645 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.76, allocations: 0 / 1.508 GB, free: 8.645 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.76, allocations: 4 kB / 1.508 GB, free: 8.641 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/0.7634, allocations: 0.9899 MB / 1.509 GB, free: 7.598 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.7634, allocations: 0 / 1.509 GB, free: 7.598 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/0.7634, allocations: 4 kB / 1.509 GB, free: 7.594 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003438/0.7638, allocations: 120.8 kB / 1.509 GB, free: 7.473 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.7638, allocations: 7.984 kB / 1.509 GB, free: 7.465 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.7649, allocations: 0.746 MB / 1.51 GB, free: 6.695 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.7649, allocations: 0 / 1.51 GB, free: 6.695 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003364/0.7682, allocations: 0.9484 MB / 1.511 GB, free: 5.711 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000179/0.7684, allocations: 59.73 kB / 1.511 GB, free: 5.652 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.7685, allocations: 4 kB / 1.511 GB, free: 5.648 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.7687, allocations: 11.98 kB / 1.511 GB, free: 5.637 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.7688, allocations: 15.97 kB / 1.511 GB, free: 5.621 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.7688, allocations: 8 kB / 1.511 GB, free: 5.613 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00032/0.7691, allocations: 227.1 kB / 1.511 GB, free: 5.395 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7691, allocations: 4 kB / 1.511 GB, free: 5.391 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006343/0.7698, allocations: 119.8 kB / 1.511 GB, free: 5.273 MB / 1.201 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.0004523/0.7702, allocations: 193.5 kB / 1.512 GB, free: 5.078 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.7719, allocations: 0.5999 MB / 1.512 GB, free: 4.438 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.7719, allocations: 0 / 1.512 GB, free: 4.438 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000774/0.7727, allocations: 253.8 kB / 1.512 GB, free: 4.168 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.7732, allocations: 56.62 kB / 1.512 GB, free: 4.113 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.7749, allocations: 0.643 MB / 1.513 GB, free: 3.438 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.7751, allocations: 155.1 kB / 1.513 GB, free: 3.266 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001571/0.7752, allocations: 33.88 kB / 1.513 GB, free: 3.234 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.683e-05/0.7753, allocations: 19.42 kB / 1.513 GB, free: 3.215 MB / 1.201 GB Notification: Performance of SimCode: time 6.11e-07/0.7753, allocations: 0 / 1.513 GB, free: 3.215 MB / 1.201 GB Notification: Performance of Templates: time 0.01605/0.7914, allocations: 8.042 MB / 1.521 GB, free: 11.27 MB / 1.217 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: 11.133651334792376]