Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001477/0.001477, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002066/0.002066, allocations: 188.7 kB / 22.11 MB, free: 4.223 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.564/1.564, allocations: 225.6 MB / 250.8 MB, free: 2.914 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.013/3.013, allocations: 495.8 MB / 0.7831 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 63.89 kB / 1.137 GB, free: 12.14 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303/1.305, allocations: 173.6 MB / 1.307 GB, free: 33.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.003864/1.309, allocations: 2.406 MB / 1.309 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2399/1.549, allocations: 149.8 MB / 1.455 GB, free: 3.691 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/1.549, allocations: 1.312 kB / 1.455 GB, free: 3.691 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0004505/1.55, allocations: 93.95 kB / 1.456 GB, free: 3.648 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001012/1.551, allocations: 240.5 kB / 1.456 GB, free: 3.523 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002456/1.553, allocations: 0.6666 MB / 1.456 GB, free: 3.199 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0008679/1.554, allocations: 438.8 kB / 1.457 GB, free: 3.004 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/1.554, allocations: 36.02 kB / 1.457 GB, free: 2.984 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003461/1.555, allocations: 186.1 kB / 1.457 GB, free: 2.914 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004633/1.555, allocations: 207 kB / 1.457 GB, free: 2.836 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 7.81e-05/1.555, allocations: 33.41 kB / 1.457 GB, free: 2.832 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/1.557, allocations: 0.5851 MB / 1.458 GB, free: 2.656 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001533/1.557, allocations: 87.66 kB / 1.458 GB, free: 2.605 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002382/1.557, allocations: 161.2 kB / 1.458 GB, free: 2.512 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/1.559, allocations: 0.6512 MB / 1.459 GB, free: 2.285 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.559, allocations: 1.375 kB / 1.459 GB, free: 2.285 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.784e-06/1.559, allocations: 0 / 1.459 GB, free: 2.285 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.805e-06/1.559, allocations: 0 / 1.459 GB, free: 2.285 MB / 1.139 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.001984/1.561, allocations: 0.7019 MB / 1.459 GB, free: 1.773 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.561, allocations: 9.406 kB / 1.459 GB, free: 1.773 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/1.563, allocations: 167.5 kB / 1.46 GB, free: 1.742 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005805/1.563, allocations: 254.5 kB / 1.46 GB, free: 1.543 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/1.563, allocations: 47.64 kB / 1.46 GB, free: 1.504 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.938e-05/1.563, allocations: 21.39 kB / 1.46 GB, free: 1.496 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/1.564, allocations: 213.6 kB / 1.46 GB, free: 1.387 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.564, allocations: 3.938 kB / 1.46 GB, free: 1.383 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/1.564, allocations: 7.75 kB / 1.46 GB, free: 1.379 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/1.564, allocations: 2.688 kB / 1.46 GB, free: 1.379 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/1.564, allocations: 118.6 kB / 1.46 GB, free: 1.344 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003013/1.567, allocations: 0.9623 MB / 1.461 GB, free: 0.7305 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009386/1.568, allocations: 149.6 kB / 1.461 GB, free: 0.668 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/1.568, allocations: 83.31 kB / 1.461 GB, free: 0.6367 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/1.568, allocations: 5.781 kB / 1.461 GB, free: 0.6328 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004461/1.569, allocations: 190.4 kB / 1.462 GB, free: 0.5195 MB / 1.139 GB Notification: Performance of pre-optimization done (n=19): time 2.404e-06/1.569, allocations: 0 / 1.462 GB, free: 0.5195 MB / 1.139 GB Notification: Performance of matching and sorting (n=19): time 0.00483/1.574, allocations: 0.7982 MB / 1.462 GB, free: 284 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/1.574, allocations: 81.3 kB / 1.462 GB, free: 188 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006136/1.574, allocations: 344.3 kB / 1.463 GB, free: 0 / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.173e-05/1.575, allocations: 33.14 kB / 1.463 GB, free: 15.96 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/1.575, allocations: 150.5 kB / 1.463 GB, free: 15.83 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 8.164e-05/1.575, allocations: 59.86 kB / 1.463 GB, free: 15.79 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/1.575, allocations: 84.94 kB / 1.463 GB, free: 15.74 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0003869/1.575, allocations: 351.5 kB / 1.463 GB, free: 15.41 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/1.576, allocations: 135.8 kB / 1.464 GB, free: 15.36 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005277/1.576, allocations: 221.7 kB / 1.464 GB, free: 15.25 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009527/1.577, allocations: 345.8 kB / 1.464 GB, free: 15.04 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.577, allocations: 1.281 kB / 1.464 GB, free: 15.04 MB / 1.154 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004007/1.581, allocations: 0.8624 MB / 1.465 GB, free: 14.75 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.143e-05/1.581, allocations: 36.58 kB / 1.465 GB, free: 14.72 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.581, allocations: 1.5 kB / 1.465 GB, free: 14.72 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/1.582, allocations: 198 kB / 1.465 GB, free: 14.66 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/1.583, allocations: 39.98 kB / 1.465 GB, free: 14.66 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003949/1.587, allocations: 2.24 MB / 1.467 GB, free: 12.63 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005712/1.587, allocations: 53.02 kB / 1.467 GB, free: 12.6 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/1.587, allocations: 20.19 kB / 1.467 GB, free: 12.59 MB / 1.154 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.0004604/1.588, allocations: 186.3 kB / 1.468 GB, free: 12.43 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.497e-05/1.588, allocations: 31.09 kB / 1.468 GB, free: 12.41 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/1.588, allocations: 30.42 kB / 1.468 GB, free: 12.39 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.588, allocations: 6.797 kB / 1.468 GB, free: 12.39 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/1.588, allocations: 0 / 1.468 GB, free: 12.39 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/1.588, allocations: 4.453 kB / 1.468 GB, free: 12.38 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003816/1.592, allocations: 1.012 MB / 1.469 GB, free: 11.73 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.592, allocations: 0 / 1.469 GB, free: 11.73 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-05/1.592, allocations: 5.75 kB / 1.469 GB, free: 11.73 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003534/1.592, allocations: 112.3 kB / 1.469 GB, free: 11.68 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/1.592, allocations: 15.64 kB / 1.469 GB, free: 11.66 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/1.593, allocations: 0.7441 MB / 1.47 GB, free: 10.99 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.593, allocations: 0 / 1.47 GB, free: 10.99 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003518/1.597, allocations: 0.8761 MB / 1.47 GB, free: 10.48 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/1.597, allocations: 62.09 kB / 1.47 GB, free: 10.43 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.547e-05/1.597, allocations: 8.406 kB / 1.47 GB, free: 10.43 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/1.597, allocations: 11.11 kB / 1.47 GB, free: 10.42 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/1.597, allocations: 15.55 kB / 1.47 GB, free: 10.41 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/1.597, allocations: 11.05 kB / 1.47 GB, free: 10.41 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003613/1.598, allocations: 236.6 kB / 1.471 GB, free: 10.26 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.598, allocations: 1.219 kB / 1.471 GB, free: 10.26 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007481/1.598, allocations: 114.3 kB / 1.471 GB, free: 10.24 MB / 1.154 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.0004162/1.599, allocations: 179.1 kB / 1.471 GB, free: 10.11 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002103/1.601, allocations: 0.5247 MB / 1.472 GB, free: 9.766 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.601, allocations: 3.938 kB / 1.472 GB, free: 9.762 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0008057/1.602, allocations: 228.6 kB / 1.472 GB, free: 9.613 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005968/1.602, allocations: 69.3 kB / 1.472 GB, free: 9.574 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/1.604, allocations: 0.6113 MB / 1.472 GB, free: 9.172 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/1.605, allocations: 0.7544 MB / 1.473 GB, free: 8.445 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.000208/1.605, allocations: 36.52 kB / 1.473 GB, free: 8.426 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/1.605, allocations: 19.31 kB / 1.473 GB, free: 8.418 MB / 1.154 GB Notification: Performance of SimCode: time 1.082e-06/1.605, allocations: 1.188 kB / 1.473 GB, free: 8.418 MB / 1.154 GB Notification: Performance of Templates: time 0.01697/1.622, allocations: 7.42 MB / 1.48 GB, free: 4.703 MB / 1.154 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.095874931663275]