Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.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.002125/0.002125, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002999/0.002999, allocations: 217.5 kB / 22.25 MB, free: 5.121 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.73/1.73, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.041/3.041, allocations: 476.7 MB / 0.7706 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") [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.002177/0.002177, allocations: 67.16 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4302, allocations: 169.9 MB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005649/0.4359, allocations: 3.06 MB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.222/0.6579, allocations: 156.8 MB / 1.44 GB, free: 10.71 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006425/0.6585, allocations: 11.88 kB / 1.44 GB, free: 10.7 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006485/0.6592, allocations: 87.16 kB / 1.44 GB, free: 10.61 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.6607, allocations: 286.1 kB / 1.44 GB, free: 10.33 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003409/0.6642, allocations: 1.05 MB / 1.441 GB, free: 9.289 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.6655, allocations: 0.7797 MB / 1.442 GB, free: 8.504 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.6657, allocations: 66.25 kB / 1.442 GB, free: 8.438 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004585/0.6661, allocations: 327 kB / 1.443 GB, free: 8.117 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005963/0.6667, allocations: 334.8 kB / 1.443 GB, free: 7.789 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.6668, allocations: 60 kB / 1.443 GB, free: 7.73 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002081/0.6689, allocations: 0.8538 MB / 1.444 GB, free: 6.875 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.6691, allocations: 151.5 kB / 1.444 GB, free: 6.727 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003372/0.6694, allocations: 286.7 kB / 1.444 GB, free: 6.445 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.6712, allocations: 0.9966 MB / 1.445 GB, free: 5.445 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.6712, allocations: 0 / 1.445 GB, free: 5.445 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6712, allocations: 0 / 1.445 GB, free: 5.445 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.415e-05/0.6712, allocations: 0 / 1.445 GB, free: 5.445 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003212/0.6744, allocations: 1.055 MB / 1.446 GB, free: 4.34 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.6744, allocations: 12.03 kB / 1.446 GB, free: 4.328 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003222/0.6777, allocations: 320 kB / 1.446 GB, free: 4.016 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008252/0.6785, allocations: 351.3 kB / 1.447 GB, free: 3.648 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.6786, allocations: 91.84 kB / 1.447 GB, free: 3.547 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.6787, allocations: 40 kB / 1.447 GB, free: 3.508 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008781/0.6796, allocations: 376.1 kB / 1.447 GB, free: 3.121 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.6796, allocations: 0 / 1.447 GB, free: 3.121 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.6797, allocations: 12 kB / 1.447 GB, free: 3.109 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.6797, allocations: 8 kB / 1.447 GB, free: 3.102 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007723/0.6804, allocations: 261.4 kB / 1.448 GB, free: 2.848 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00504/0.6855, allocations: 1.637 MB / 1.449 GB, free: 1.148 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008231/0.6863, allocations: 238.5 kB / 1.449 GB, free: 0.9062 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.6868, allocations: 148.8 kB / 1.45 GB, free: 0.7578 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 4.171e-05/0.6868, allocations: 7.984 kB / 1.45 GB, free: 0.75 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007962/0.6876, allocations: 305.9 kB / 1.45 GB, free: 444 kB / 1.139 GB Notification: Performance of pre-optimization done (n=30): time 2.375e-06/0.6876, allocations: 0 / 1.45 GB, free: 444 kB / 1.139 GB Notification: Performance of matching and sorting (n=30): time 0.009208/0.6968, allocations: 1.367 MB / 1.451 GB, free: 15.05 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.6969, allocations: 93.05 kB / 1.451 GB, free: 14.95 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007701/0.6977, allocations: 453.8 kB / 1.452 GB, free: 14.49 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000193/0.6979, allocations: 37.7 kB / 1.452 GB, free: 14.45 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.6982, allocations: 205 kB / 1.452 GB, free: 14.25 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.6983, allocations: 99.19 kB / 1.452 GB, free: 14.15 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003106/0.6986, allocations: 158.2 kB / 1.452 GB, free: 13.98 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002424/0.6988, allocations: 358.8 kB / 1.452 GB, free: 13.62 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008656/0.6997, allocations: 273.1 kB / 1.453 GB, free: 13.36 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.7008, allocations: 425.7 kB / 1.453 GB, free: 12.91 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008164/0.7089, allocations: 1.852 MB / 1.455 GB, free: 11 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.7089, allocations: 0 / 1.455 GB, free: 11 MB / 1.154 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008394/0.7173, allocations: 1.599 MB / 1.457 GB, free: 9.371 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.146e-05/0.7174, allocations: 55.41 kB / 1.457 GB, free: 9.305 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.7174, allocations: 7.984 kB / 1.457 GB, free: 9.297 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001925/0.7193, allocations: 399.1 kB / 1.457 GB, free: 8.895 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005924/0.7199, allocations: 87.86 kB / 1.457 GB, free: 8.809 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007149/0.7271, allocations: 4.483 MB / 1.461 GB, free: 4.035 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.7282, allocations: 103.5 kB / 1.462 GB, free: 3.934 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.002e-05/0.7283, allocations: 35.95 kB / 1.462 GB, free: 3.898 MB / 1.154 GB Warning: Assuming fixed start value for the following 2 variables: evaNor.off:DISCRETE(fixed = true protected = true ) \"Signal, true when component is off\" type: Boolean evaSho.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: 8 * Number of states: 0 () * Number of discrete variables: 18 ($PRE.pulNor.count,$PRE.pulNor.T_start,$PRE.evaNor.off,pulNor.count,pulNor.T_start,evaNor.off,$whenCondition2,$whenCondition4,$PRE.evaSho.off,$PRE.pulSho.count,$PRE.pulSho.T_start,evaSho.off,pulSho.count,pulSho.T_start,$whenCondition1,$whenCondition3,intNor.local_reset,intSho.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {7, 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003524/0.7286, allocations: 174.8 kB / 1.462 GB, free: 3.723 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.762e-05/0.7287, allocations: 43.72 kB / 1.462 GB, free: 3.68 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.761e-05/0.7288, allocations: 39.52 kB / 1.462 GB, free: 3.645 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.7288, allocations: 4 kB / 1.462 GB, free: 3.641 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.7288, allocations: 15.86 kB / 1.462 GB, free: 3.625 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.7288, allocations: 0 / 1.462 GB, free: 3.625 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/0.7295, allocations: 448.3 kB / 1.462 GB, free: 3.145 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.7295, allocations: 0 / 1.462 GB, free: 3.145 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.7297, allocations: 39.84 kB / 1.462 GB, free: 3.105 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006944/0.7304, allocations: 221.5 kB / 1.463 GB, free: 2.883 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/0.7304, allocations: 11.98 kB / 1.463 GB, free: 2.871 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.7325, allocations: 1.493 MB / 1.464 GB, free: 1.332 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.7325, allocations: 0 / 1.464 GB, free: 1.332 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006686/0.7392, allocations: 1.307 MB / 1.465 GB, free: 15.99 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/0.7395, allocations: 87.58 kB / 1.465 GB, free: 15.91 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.413e-05/0.7396, allocations: 11.94 kB / 1.465 GB, free: 15.9 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004906/0.7401, allocations: 39.94 kB / 1.465 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.7402, allocations: 39.94 kB / 1.465 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.102e-05/0.7403, allocations: 15.98 kB / 1.465 GB, free: 15.8 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004653/0.7407, allocations: 299.1 kB / 1.466 GB, free: 15.51 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.7407, allocations: 0 / 1.466 GB, free: 15.51 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008899/0.7416, allocations: 175.8 kB / 1.466 GB, free: 15.34 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (evaSho.m,intSho.y,evaNor.m,intNor.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition1,pulSho.T_start,pulSho.count,evaSho.off,$whenCondition4,$whenCondition2,evaNor.off,pulNor.T_start,pulNor.count) * Number of discrete states: 4 (pulNor.count,evaNor.off,pulSho.count,evaSho.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {7, 7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004402/0.7421, allocations: 181 kB / 1.466 GB, free: 15.16 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003426/0.7455, allocations: 1.006 MB / 1.467 GB, free: 14.1 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.7455, allocations: 0 / 1.467 GB, free: 14.1 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/0.747, allocations: 325.3 kB / 1.467 GB, free: 13.77 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.7477, allocations: 112.2 kB / 1.467 GB, free: 13.66 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.7498, allocations: 0.8905 MB / 1.468 GB, free: 12.75 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/0.7503, allocations: 0.8074 MB / 1.469 GB, free: 11.92 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003277/0.7507, allocations: 59.28 kB / 1.469 GB, free: 11.86 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.7508, allocations: 39.41 kB / 1.469 GB, free: 11.82 MB / 1.17 GB Notification: Performance of SimCode: time 9.11e-07/0.7508, allocations: 0 / 1.469 GB, free: 11.82 MB / 1.17 GB Notification: Performance of Templates: time 0.02742/0.7782, allocations: 12.79 MB / 1.482 GB, free: 15.12 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.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.165242429357022]