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.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.001698/0.001698, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002174/0.002174, allocations: 221.1 kB / 23 MB, free: 4.914 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.642/1.642, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.312/3.312, allocations: 0.4892 GB / 0.7951 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_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: 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.002122/0.002122, allocations: 72.39 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4326, allocations: 176.1 MB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.006076/0.4387, allocations: 2.299 MB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2015/0.6401, allocations: 132.7 MB / 1.458 GB, free: 10.32 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003282/0.6405, allocations: 4 kB / 1.458 GB, free: 10.31 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004885/0.641, allocations: 83.45 kB / 1.458 GB, free: 10.23 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.642, allocations: 242.6 kB / 1.458 GB, free: 9.992 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.6441, allocations: 0.6712 MB / 1.459 GB, free: 9.328 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0006558/0.6448, allocations: 438.6 kB / 1.46 GB, free: 8.898 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.6449, allocations: 24.92 kB / 1.46 GB, free: 8.875 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002762/0.6452, allocations: 191.4 kB / 1.46 GB, free: 8.688 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003705/0.6456, allocations: 187.3 kB / 1.46 GB, free: 8.504 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.592e-05/0.6456, allocations: 32 kB / 1.46 GB, free: 8.473 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.6469, allocations: 0.5927 MB / 1.461 GB, free: 7.879 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.6471, allocations: 87.7 kB / 1.461 GB, free: 7.793 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.6472, allocations: 139.4 kB / 1.461 GB, free: 7.656 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.6483, allocations: 0.6774 MB / 1.461 GB, free: 6.977 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6483, allocations: 0 / 1.461 GB, free: 6.977 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6483, allocations: 3.938 kB / 1.461 GB, free: 6.973 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.6483, allocations: 0 / 1.461 GB, free: 6.973 MB / 1.154 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.001632/0.6499, allocations: 0.6936 MB / 1.462 GB, free: 6.238 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.65, allocations: 8.031 kB / 1.462 GB, free: 6.23 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.6517, allocations: 196.5 kB / 1.462 GB, free: 6.039 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.6523, allocations: 265.6 kB / 1.463 GB, free: 5.75 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.398e-05/0.6523, allocations: 41.7 kB / 1.463 GB, free: 5.703 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-05/0.6524, allocations: 24 kB / 1.463 GB, free: 5.68 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.6529, allocations: 229.8 kB / 1.463 GB, free: 5.434 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.6529, allocations: 4 kB / 1.463 GB, free: 5.43 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.6529, allocations: 8 kB / 1.463 GB, free: 5.422 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.6529, allocations: 4 kB / 1.463 GB, free: 5.418 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002918/0.6532, allocations: 149.8 kB / 1.463 GB, free: 5.266 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.6556, allocations: 0.8481 MB / 1.464 GB, free: 4.379 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008162/0.6564, allocations: 172.2 kB / 1.464 GB, free: 4.195 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.6566, allocations: 122.5 kB / 1.464 GB, free: 4.066 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.6566, allocations: 0 / 1.464 GB, free: 4.066 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004257/0.6571, allocations: 238.6 kB / 1.464 GB, free: 3.809 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.6571, allocations: 0 / 1.464 GB, free: 3.809 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.004303/0.6614, allocations: 0.8641 MB / 1.465 GB, free: 2.918 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.6614, allocations: 81.11 kB / 1.465 GB, free: 2.82 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/0.6619, allocations: 328.4 kB / 1.466 GB, free: 2.492 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.789e-05/0.6619, allocations: 33.7 kB / 1.466 GB, free: 2.453 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.6621, allocations: 152.9 kB / 1.466 GB, free: 2.301 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.418e-05/0.6622, allocations: 63.47 kB / 1.466 GB, free: 2.238 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.6623, allocations: 85.94 kB / 1.466 GB, free: 2.145 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.6625, allocations: 342.8 kB / 1.466 GB, free: 1.801 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.6628, allocations: 166.2 kB / 1.466 GB, free: 1.633 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/0.6633, allocations: 357.9 kB / 1.467 GB, free: 1.238 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/0.664, allocations: 348.9 kB / 1.467 GB, free: 0.8711 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.664, allocations: 0 / 1.467 GB, free: 0.8711 MB / 1.154 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003744/0.6677, allocations: 0.9134 MB / 1.468 GB, free: 15.93 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.717e-05/0.6678, allocations: 35.58 kB / 1.468 GB, free: 15.89 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.6678, allocations: 3.984 kB / 1.468 GB, free: 15.89 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009413/0.6688, allocations: 193.6 kB / 1.468 GB, free: 15.7 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.669, allocations: 43.91 kB / 1.468 GB, free: 15.65 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003178/0.6722, allocations: 2.207 MB / 1.47 GB, free: 13.32 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000544/0.6727, allocations: 51.7 kB / 1.47 GB, free: 13.27 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.6728, allocations: 15.98 kB / 1.47 GB, free: 13.25 MB / 1.17 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.0003268/0.6731, allocations: 193.8 kB / 1.471 GB, free: 13.05 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.6732, allocations: 35.81 kB / 1.471 GB, free: 13.01 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.6732, allocations: 22.25 kB / 1.471 GB, free: 12.98 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.6732, allocations: 4 kB / 1.471 GB, free: 12.98 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.6732, allocations: 0 / 1.471 GB, free: 12.98 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.6732, allocations: 0 / 1.471 GB, free: 12.98 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/0.6765, allocations: 0.9901 MB / 1.472 GB, free: 11.94 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/0.6766, allocations: 0 / 1.472 GB, free: 11.94 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.157e-05/0.6766, allocations: 4 kB / 1.472 GB, free: 11.93 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003426/0.677, allocations: 116.8 kB / 1.472 GB, free: 11.82 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.677, allocations: 4 kB / 1.472 GB, free: 11.81 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.678, allocations: 0.7615 MB / 1.472 GB, free: 11.03 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.678, allocations: 0 / 1.472 GB, free: 11.03 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003252/0.6813, allocations: 0.9454 MB / 1.473 GB, free: 10.05 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.6814, allocations: 59.72 kB / 1.473 GB, free: 9.988 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/0.6815, allocations: 4 kB / 1.473 GB, free: 9.984 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.6817, allocations: 20.05 kB / 1.473 GB, free: 9.965 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.6818, allocations: 15.86 kB / 1.474 GB, free: 9.949 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.6818, allocations: 11.98 kB / 1.474 GB, free: 9.938 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000311/0.6821, allocations: 223 kB / 1.474 GB, free: 9.723 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.6821, allocations: 0 / 1.474 GB, free: 9.723 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005974/0.6827, allocations: 119.8 kB / 1.474 GB, free: 9.605 MB / 1.17 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.0004012/0.6831, allocations: 191.4 kB / 1.474 GB, free: 9.41 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00162/0.6848, allocations: 0.5919 MB / 1.475 GB, free: 8.777 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6848, allocations: 4 kB / 1.475 GB, free: 8.773 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007317/0.6855, allocations: 257.8 kB / 1.475 GB, free: 8.5 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.686, allocations: 56.55 kB / 1.475 GB, free: 8.445 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.6875, allocations: 0.6893 MB / 1.476 GB, free: 7.723 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.6877, allocations: 155 kB / 1.476 GB, free: 7.551 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/0.6877, allocations: 23.42 kB / 1.476 GB, free: 7.527 MB / 1.17 GB Notification: Performance of SimCode: time 6.41e-07/0.6877, allocations: 0 / 1.476 GB, free: 7.527 MB / 1.17 GB Notification: Performance of Templates: time 0.01101/0.6987, allocations: 6.616 MB / 1.482 GB, free: 0.9297 MB / 1.17 GB " [Timeout remaining time 299] 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/jenkins1/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: 13.622112549375743]