Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001828/0.001828, 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.002161/0.002161, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.655/1.655, allocations: 230.6 MB / 256 MB, free: 7.973 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.45/3.45, allocations: 0.4899 GB / 0.7951 GB, free: 33.27 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.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_12_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_12_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.003286/0.003286, allocations: 62.78 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.469, allocations: 176.1 MB / 1.326 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.00548/0.4745, allocations: 3.05 MB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2295/0.704, allocations: 156.8 MB / 1.483 GB, free: 0.9258 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005232/0.7045, allocations: 8 kB / 1.483 GB, free: 0.918 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0004226/0.7049, allocations: 87.2 kB / 1.483 GB, free: 0.832 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.706, allocations: 290.1 kB / 1.483 GB, free: 0.5469 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003019/0.709, allocations: 1.049 MB / 1.484 GB, free: 15.51 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001131/0.7102, allocations: 0.7835 MB / 1.485 GB, free: 14.72 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.7104, allocations: 70.17 kB / 1.485 GB, free: 14.65 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004575/0.7108, allocations: 335 kB / 1.485 GB, free: 14.32 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005876/0.7114, allocations: 338.8 kB / 1.485 GB, free: 13.99 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.7115, allocations: 60 kB / 1.485 GB, free: 13.93 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.7134, allocations: 0.8421 MB / 1.486 GB, free: 13.09 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.7136, allocations: 155.6 kB / 1.486 GB, free: 12.93 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003232/0.7139, allocations: 286.7 kB / 1.487 GB, free: 12.65 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.7155, allocations: 0.9889 MB / 1.488 GB, free: 11.66 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7155, allocations: 0 / 1.488 GB, free: 11.66 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7155, allocations: 0 / 1.488 GB, free: 11.66 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.7155, allocations: 0 / 1.488 GB, free: 11.66 MB / 1.186 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.003004/0.7185, allocations: 1.051 MB / 1.489 GB, free: 10.56 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.7185, allocations: 8.031 kB / 1.489 GB, free: 10.55 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003237/0.7218, allocations: 324 kB / 1.489 GB, free: 10.23 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007846/0.7226, allocations: 355.2 kB / 1.489 GB, free: 9.859 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.7227, allocations: 91.83 kB / 1.489 GB, free: 9.758 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.7228, allocations: 40 kB / 1.489 GB, free: 9.719 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000868/0.7237, allocations: 372.2 kB / 1.49 GB, free: 9.332 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.7237, allocations: 0 / 1.49 GB, free: 9.332 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.7237, allocations: 15.97 kB / 1.49 GB, free: 9.316 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.7237, allocations: 8 kB / 1.49 GB, free: 9.309 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007801/0.7245, allocations: 257.4 kB / 1.49 GB, free: 9.055 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004949/0.7295, allocations: 1.637 MB / 1.492 GB, free: 7.359 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007891/0.7303, allocations: 234.5 kB / 1.492 GB, free: 7.121 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004685/0.7307, allocations: 152.7 kB / 1.492 GB, free: 6.969 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.378e-05/0.7308, allocations: 7.984 kB / 1.492 GB, free: 6.961 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007686/0.7315, allocations: 292.8 kB / 1.492 GB, free: 6.656 MB / 1.186 GB Notification: Performance of pre-optimization done (n=30): time 2.164e-06/0.7315, allocations: 3.938 kB / 1.492 GB, free: 6.652 MB / 1.186 GB Notification: Performance of matching and sorting (n=30): time 0.009466/0.741, allocations: 1.378 MB / 1.494 GB, free: 5.262 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/0.7411, allocations: 85.05 kB / 1.494 GB, free: 5.16 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007649/0.7418, allocations: 453.8 kB / 1.494 GB, free: 4.703 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002291/0.7421, allocations: 45.69 kB / 1.494 GB, free: 4.652 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.7423, allocations: 205 kB / 1.494 GB, free: 4.449 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.7424, allocations: 99.2 kB / 1.495 GB, free: 4.352 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000308/0.7427, allocations: 162.2 kB / 1.495 GB, free: 4.188 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002284/0.743, allocations: 350.8 kB / 1.495 GB, free: 3.836 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000821/0.7438, allocations: 273.1 kB / 1.495 GB, free: 3.57 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.7448, allocations: 421.8 kB / 1.496 GB, free: 3.129 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008119/0.7529, allocations: 1.857 MB / 1.497 GB, free: 1.215 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.7529, allocations: 4 kB / 1.497 GB, free: 1.211 MB / 1.186 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00838/0.7613, allocations: 1.588 MB / 1.499 GB, free: 15.59 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 9.823e-05/0.7614, allocations: 67.39 kB / 1.499 GB, free: 15.51 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.7614, allocations: 0 / 1.499 GB, free: 15.51 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00198/0.7634, allocations: 399.1 kB / 1.499 GB, free: 15.11 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006078/0.764, allocations: 95.8 kB / 1.5 GB, free: 15.02 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006914/0.7709, allocations: 4.474 MB / 1.504 GB, free: 10.26 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.772, allocations: 103.5 kB / 1.504 GB, free: 10.16 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.539e-05/0.7721, allocations: 47.89 kB / 1.504 GB, free: 10.11 MB / 1.201 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.0003944/0.7725, allocations: 174.7 kB / 1.504 GB, free: 9.93 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.586e-05/0.7726, allocations: 47.89 kB / 1.504 GB, free: 9.883 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.238e-05/0.7727, allocations: 51.44 kB / 1.504 GB, free: 9.836 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.7727, allocations: 4 kB / 1.504 GB, free: 9.832 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.7727, allocations: 3.938 kB / 1.504 GB, free: 9.828 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.7727, allocations: 0 / 1.504 GB, free: 9.828 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006425/0.7733, allocations: 444.3 kB / 1.505 GB, free: 9.352 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.7733, allocations: 0 / 1.505 GB, free: 9.352 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.7735, allocations: 23.97 kB / 1.505 GB, free: 9.328 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006514/0.7742, allocations: 233.5 kB / 1.505 GB, free: 9.094 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/0.7742, allocations: 11.98 kB / 1.505 GB, free: 9.082 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.7763, allocations: 1.494 MB / 1.506 GB, free: 7.543 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7763, allocations: 0 / 1.506 GB, free: 7.543 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006892/0.7832, allocations: 1.315 MB / 1.508 GB, free: 6.199 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/0.7835, allocations: 83.62 kB / 1.508 GB, free: 6.117 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.419e-05/0.7836, allocations: 8 kB / 1.508 GB, free: 6.109 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/0.7841, allocations: 35.95 kB / 1.508 GB, free: 6.074 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.7843, allocations: 43.88 kB / 1.508 GB, free: 6.031 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/0.7843, allocations: 15.97 kB / 1.508 GB, free: 6.016 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004706/0.7848, allocations: 299.1 kB / 1.508 GB, free: 5.727 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7848, allocations: 4 kB / 1.508 GB, free: 5.723 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008754/0.7856, allocations: 167.8 kB / 1.508 GB, free: 5.559 MB / 1.201 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.0004384/0.7861, allocations: 176.7 kB / 1.509 GB, free: 5.379 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003406/0.7895, allocations: 1.013 MB / 1.51 GB, free: 4.309 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.7895, allocations: 0 / 1.51 GB, free: 4.309 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001593/0.7911, allocations: 313.4 kB / 1.51 GB, free: 3.996 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007284/0.7918, allocations: 109 kB / 1.51 GB, free: 3.891 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.794, allocations: 0.9136 MB / 1.511 GB, free: 2.953 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005914/0.7946, allocations: 0.8035 MB / 1.512 GB, free: 2.121 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003149/0.7949, allocations: 59.27 kB / 1.512 GB, free: 2.062 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.795, allocations: 35.42 kB / 1.512 GB, free: 2.027 MB / 1.201 GB Notification: Performance of SimCode: time 9.82e-07/0.795, allocations: 8 kB / 1.512 GB, free: 2.02 MB / 1.201 GB Notification: Performance of Templates: time 0.02479/0.8198, allocations: 12.77 MB / 1.524 GB, free: 5.344 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.912826422136277]