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.001849/0.001849, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002276/0.002276, allocations: 215.1 kB / 23 MB, free: 4.969 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.691/1.691, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.453/3.453, allocations: 0.49 GB / 0.7959 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.002037/0.002037, allocations: 67.39 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4968/0.4989, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004812/0.5037, allocations: 2.298 MB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2115/0.7152, allocations: 132.7 MB / 1.459 GB, free: 9.422 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002862/0.7155, allocations: 7.938 kB / 1.459 GB, free: 9.414 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005096/0.716, allocations: 87.45 kB / 1.459 GB, free: 9.328 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0008908/0.7169, allocations: 242.6 kB / 1.459 GB, free: 9.09 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.7188, allocations: 0.6673 MB / 1.46 GB, free: 8.43 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0006289/0.7195, allocations: 434.6 kB / 1.46 GB, free: 8.004 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.7196, allocations: 32.91 kB / 1.46 GB, free: 7.973 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.7199, allocations: 191.4 kB / 1.461 GB, free: 7.785 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003767/0.7202, allocations: 199.3 kB / 1.461 GB, free: 7.59 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.521e-05/0.7203, allocations: 32 kB / 1.461 GB, free: 7.559 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.7216, allocations: 0.6161 MB / 1.461 GB, free: 6.941 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.7217, allocations: 87.66 kB / 1.461 GB, free: 6.855 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.7219, allocations: 131.4 kB / 1.462 GB, free: 6.727 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.723, allocations: 0.6813 MB / 1.462 GB, free: 6.043 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.723, allocations: 0 / 1.462 GB, free: 6.043 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.394e-06/0.723, allocations: 0 / 1.462 GB, free: 6.043 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.723, allocations: 0 / 1.462 GB, free: 6.043 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.00192/0.7249, allocations: 0.7014 MB / 1.463 GB, free: 5.301 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.725, allocations: 8.031 kB / 1.463 GB, free: 5.293 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/0.727, allocations: 188.5 kB / 1.463 GB, free: 5.109 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.7276, allocations: 261.6 kB / 1.463 GB, free: 4.824 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.7277, allocations: 45.7 kB / 1.463 GB, free: 4.773 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-05/0.7278, allocations: 23.94 kB / 1.463 GB, free: 4.75 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.7283, allocations: 236.7 kB / 1.464 GB, free: 4.5 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.7283, allocations: 7.938 kB / 1.464 GB, free: 4.492 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.7283, allocations: 7.984 kB / 1.464 GB, free: 4.484 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.7284, allocations: 4 kB / 1.464 GB, free: 4.48 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.7287, allocations: 149.9 kB / 1.464 GB, free: 4.328 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.7313, allocations: 0.8442 MB / 1.465 GB, free: 3.445 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000872/0.7322, allocations: 188.1 kB / 1.465 GB, free: 3.246 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.7324, allocations: 114.5 kB / 1.465 GB, free: 3.125 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.7324, allocations: 0 / 1.465 GB, free: 3.125 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004243/0.7329, allocations: 231.7 kB / 1.465 GB, free: 2.875 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.7329, allocations: 0 / 1.465 GB, free: 2.875 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.004949/0.7378, allocations: 0.8595 MB / 1.466 GB, free: 1.992 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.7379, allocations: 85.11 kB / 1.466 GB, free: 1.891 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004221/0.7383, allocations: 328.4 kB / 1.466 GB, free: 1.562 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.891e-05/0.7384, allocations: 33.7 kB / 1.466 GB, free: 1.523 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.7385, allocations: 152.9 kB / 1.467 GB, free: 1.371 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.032e-05/0.7386, allocations: 63.47 kB / 1.467 GB, free: 1.309 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.7388, allocations: 85.94 kB / 1.467 GB, free: 1.215 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.739, allocations: 338.8 kB / 1.467 GB, free: 0.875 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/0.7394, allocations: 166.2 kB / 1.467 GB, free: 0.707 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005457/0.7399, allocations: 357.9 kB / 1.468 GB, free: 320 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007461/0.7407, allocations: 348.8 kB / 1.468 GB, free: 15.94 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.7407, allocations: 4 kB / 1.468 GB, free: 15.94 MB / 1.17 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004184/0.7449, allocations: 0.9055 MB / 1.469 GB, free: 15.01 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.143e-05/0.7449, allocations: 37.7 kB / 1.469 GB, free: 14.97 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.7449, allocations: 0 / 1.469 GB, free: 14.97 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.7459, allocations: 201.6 kB / 1.469 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.7462, allocations: 43.91 kB / 1.469 GB, free: 14.72 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003521/0.7497, allocations: 2.206 MB / 1.471 GB, free: 12.39 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005289/0.7503, allocations: 43.72 kB / 1.471 GB, free: 12.34 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/0.7503, allocations: 19.97 kB / 1.471 GB, free: 12.32 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.0003133/0.7506, allocations: 185.8 kB / 1.471 GB, free: 12.13 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.563e-05/0.7507, allocations: 35.81 kB / 1.471 GB, free: 12.09 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.634e-05/0.7508, allocations: 22.25 kB / 1.471 GB, free: 12.07 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.7508, allocations: 7.875 kB / 1.471 GB, free: 12.06 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.7508, allocations: 4 kB / 1.471 GB, free: 12.05 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.7509, allocations: 59.77 kB / 1.472 GB, free: 12 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.701e-05/0.751, allocations: 8 kB / 1.472 GB, free: 11.99 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.7512, allocations: 11.94 kB / 1.472 GB, free: 11.98 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.7514, allocations: 23.94 kB / 1.472 GB, free: 11.95 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001132/0.7525, allocations: 0.524 MB / 1.472 GB, free: 11.39 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00107/0.7536, allocations: 0.6924 MB / 1.473 GB, free: 10.67 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002528/0.7538, allocations: 117.8 kB / 1.473 GB, free: 10.55 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003058/0.7541, allocations: 231 kB / 1.473 GB, free: 10.32 MB / 1.17 GB Notification: Performance of Backend: time 8.01e-07/0.7541, allocations: 0 / 1.473 GB, free: 10.32 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002586/0.7567, allocations: 0.7277 MB / 1.474 GB, free: 9.559 MB / 1.17 GB Notification: Performance of SimCode: time 0.001532/0.7582, allocations: 1.132 MB / 1.475 GB, free: 8.367 MB / 1.17 GB Notification: Performance of Templates: time 0.01795/0.7762, allocations: 9.497 MB / 1.484 GB, free: 14.93 MB / 1.186 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: 10.814033935996122]