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.001684/0.001684, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.001768/0.001768, allocations: 213.4 kB / 23.04 MB, free: 4.844 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.242/3.242, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.002041/0.002041, allocations: 72.33 kB / 1.155 GB, free: 25.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3867, allocations: 176.1 MB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationFlowReversal): time 0.004813/0.3915, allocations: 2.298 MB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.186/0.5775, allocations: 132.7 MB / 1.459 GB, free: 9.266 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002606/0.5777, allocations: 11.94 kB / 1.459 GB, free: 9.254 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004019/0.5782, allocations: 83.45 kB / 1.459 GB, free: 9.172 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0008361/0.579, allocations: 246.5 kB / 1.459 GB, free: 8.93 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.5809, allocations: 0.662 MB / 1.46 GB, free: 8.273 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0006017/0.5815, allocations: 434.6 kB / 1.46 GB, free: 7.848 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.5816, allocations: 28.92 kB / 1.46 GB, free: 7.82 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.5818, allocations: 191.4 kB / 1.461 GB, free: 7.633 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.5822, allocations: 183.3 kB / 1.461 GB, free: 7.453 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 5.277e-05/0.5823, allocations: 28 kB / 1.461 GB, free: 7.426 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.5835, allocations: 0.6082 MB / 1.461 GB, free: 6.816 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.5837, allocations: 83.73 kB / 1.462 GB, free: 6.734 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.5838, allocations: 135.4 kB / 1.462 GB, free: 6.602 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.5849, allocations: 0.6735 MB / 1.462 GB, free: 5.926 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5849, allocations: 0 / 1.462 GB, free: 5.926 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5849, allocations: 0 / 1.462 GB, free: 5.926 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.5849, allocations: 0 / 1.462 GB, free: 5.926 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.001639/0.5865, allocations: 0.6975 MB / 1.463 GB, free: 5.188 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.5866, allocations: 8.031 kB / 1.463 GB, free: 5.18 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/0.5884, allocations: 196.5 kB / 1.463 GB, free: 4.988 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006016/0.589, allocations: 257.7 kB / 1.463 GB, free: 4.707 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.051e-05/0.5891, allocations: 49.69 kB / 1.463 GB, free: 4.652 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/0.5891, allocations: 24 kB / 1.463 GB, free: 4.629 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.5896, allocations: 240.4 kB / 1.464 GB, free: 4.375 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.5896, allocations: 4 kB / 1.464 GB, free: 4.371 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.5896, allocations: 0 / 1.464 GB, free: 4.371 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.5896, allocations: 4 kB / 1.464 GB, free: 4.367 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.5899, allocations: 153.9 kB / 1.464 GB, free: 4.211 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.5925, allocations: 0.8558 MB / 1.465 GB, free: 3.316 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008039/0.5933, allocations: 180.2 kB / 1.465 GB, free: 3.125 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.5935, allocations: 118.5 kB / 1.465 GB, free: 3 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.5936, allocations: 0 / 1.465 GB, free: 3 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004086/0.594, allocations: 226.6 kB / 1.465 GB, free: 2.754 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.594, allocations: 0 / 1.465 GB, free: 2.754 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.004294/0.5983, allocations: 0.8646 MB / 1.466 GB, free: 1.863 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.489e-05/0.5984, allocations: 85.05 kB / 1.466 GB, free: 1.762 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/0.5988, allocations: 324.4 kB / 1.466 GB, free: 1.434 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/0.5989, allocations: 33.7 kB / 1.466 GB, free: 1.395 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.599, allocations: 152.9 kB / 1.467 GB, free: 1.242 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.56e-05/0.5991, allocations: 59.48 kB / 1.467 GB, free: 1.184 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.5993, allocations: 89.92 kB / 1.467 GB, free: 1.086 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.5995, allocations: 342.8 kB / 1.467 GB, free: 0.7422 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.5999, allocations: 174.2 kB / 1.467 GB, free: 0.5664 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/0.6004, allocations: 353.9 kB / 1.468 GB, free: 180 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006999/0.6011, allocations: 348.9 kB / 1.468 GB, free: 15.81 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6011, allocations: 0 / 1.468 GB, free: 15.81 MB / 1.17 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003781/0.6049, allocations: 0.8977 MB / 1.469 GB, free: 14.89 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.656e-05/0.605, allocations: 41.69 kB / 1.469 GB, free: 14.84 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.605, allocations: 4.062 kB / 1.469 GB, free: 14.84 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009134/0.6059, allocations: 189.5 kB / 1.469 GB, free: 14.64 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.6061, allocations: 39.92 kB / 1.469 GB, free: 14.61 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003224/0.6094, allocations: 2.222 MB / 1.471 GB, free: 12.25 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.6098, allocations: 43.72 kB / 1.471 GB, free: 12.21 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.6099, allocations: 23.97 kB / 1.471 GB, free: 12.19 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.0002968/0.6102, allocations: 187.9 kB / 1.471 GB, free: 11.99 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.489e-05/0.6103, allocations: 31.81 kB / 1.472 GB, free: 11.96 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.6103, allocations: 26.25 kB / 1.472 GB, free: 11.93 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.6103, allocations: 0 / 1.472 GB, free: 11.93 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.6103, allocations: 0 / 1.472 GB, free: 11.93 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.6103, allocations: 0 / 1.472 GB, free: 11.93 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003287/0.6136, allocations: 0.997 MB / 1.473 GB, free: 10.88 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.6136, allocations: 0 / 1.473 GB, free: 10.88 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/0.6137, allocations: 7.938 kB / 1.473 GB, free: 10.87 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003386/0.614, allocations: 112.9 kB / 1.473 GB, free: 10.76 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.6141, allocations: 15.92 kB / 1.473 GB, free: 10.74 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000986/0.615, allocations: 0.7537 MB / 1.473 GB, free: 9.965 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.615, allocations: 0 / 1.473 GB, free: 9.965 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003513/0.6186, allocations: 0.9489 MB / 1.474 GB, free: 8.98 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.6188, allocations: 59.73 kB / 1.474 GB, free: 8.922 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.092e-05/0.6188, allocations: 4 kB / 1.474 GB, free: 8.918 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.619, allocations: 19.92 kB / 1.474 GB, free: 8.898 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.6191, allocations: 7.984 kB / 1.474 GB, free: 8.891 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.6191, allocations: 15.98 kB / 1.474 GB, free: 8.875 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0003081/0.6194, allocations: 219.1 kB / 1.475 GB, free: 8.664 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6194, allocations: 0 / 1.475 GB, free: 8.664 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008611/0.6203, allocations: 119.8 kB / 1.475 GB, free: 8.547 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.0005175/0.6208, allocations: 191.5 kB / 1.475 GB, free: 8.352 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002253/0.6231, allocations: 0.5957 MB / 1.475 GB, free: 7.715 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.6231, allocations: 4.062 kB / 1.475 GB, free: 7.711 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000979/0.6241, allocations: 249.8 kB / 1.476 GB, free: 7.445 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007196/0.6248, allocations: 60.69 kB / 1.476 GB, free: 7.387 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.627, allocations: 0.6844 MB / 1.476 GB, free: 6.664 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.6272, allocations: 155.1 kB / 1.477 GB, free: 6.492 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.6273, allocations: 23.44 kB / 1.477 GB, free: 6.469 MB / 1.17 GB Notification: Performance of SimCode: time 1.052e-06/0.6273, allocations: 0 / 1.477 GB, free: 6.469 MB / 1.17 GB Notification: Performance of Templates: time 0.01475/0.6421, allocations: 6.626 MB / 1.483 GB, free: 15.87 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: 13.135175740113482]