Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001844/0.001844, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002523/0.002523, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.648/1.648, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.731/3.731, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002179/0.002179, allocations: 68.09 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4721, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005179/0.4773, allocations: 2.816 MB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2156/0.6928, allocations: 134.9 MB / 1.498 GB, free: 3.246 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005745/0.6934, allocations: 7.938 kB / 1.498 GB, free: 3.238 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005225/0.6939, allocations: 75.28 kB / 1.498 GB, free: 3.164 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.6954, allocations: 298 kB / 1.499 GB, free: 2.871 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003768/0.6992, allocations: 1.014 MB / 1.5 GB, free: 1.867 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001567/0.7008, allocations: 0.7836 MB / 1.501 GB, free: 1.082 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002716/0.701, allocations: 66.17 kB / 1.501 GB, free: 1.012 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008357/0.7019, allocations: 335 kB / 1.501 GB, free: 0.6836 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008639/0.7027, allocations: 302.8 kB / 1.501 GB, free: 396 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002736/0.703, allocations: 60 kB / 1.501 GB, free: 336 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.7052, allocations: 0.7328 MB / 1.502 GB, free: 15.59 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002534/0.7054, allocations: 147.6 kB / 1.502 GB, free: 15.45 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004874/0.7059, allocations: 251 kB / 1.502 GB, free: 15.2 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00241/0.7083, allocations: 0.9849 MB / 1.503 GB, free: 14.21 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.7083, allocations: 0 / 1.503 GB, free: 14.21 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.013e-06/0.7083, allocations: 0 / 1.503 GB, free: 14.21 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.239e-05/0.7084, allocations: 4 kB / 1.503 GB, free: 14.21 MB / 1.201 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.003291/0.7117, allocations: 1.047 MB / 1.504 GB, free: 13.11 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.7117, allocations: 12.03 kB / 1.504 GB, free: 13.1 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003074/0.7148, allocations: 332 kB / 1.505 GB, free: 12.78 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009762/0.7158, allocations: 347.2 kB / 1.505 GB, free: 12.41 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.7159, allocations: 95.78 kB / 1.505 GB, free: 12.31 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.716, allocations: 43.95 kB / 1.505 GB, free: 12.27 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009216/0.7169, allocations: 372.2 kB / 1.505 GB, free: 11.88 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.717, allocations: 3.938 kB / 1.505 GB, free: 11.88 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.717, allocations: 8 kB / 1.505 GB, free: 11.87 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.717, allocations: 4 kB / 1.506 GB, free: 11.87 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000758/0.7178, allocations: 265.4 kB / 1.506 GB, free: 11.61 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004687/0.7224, allocations: 1.458 MB / 1.507 GB, free: 10.1 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008439/0.7233, allocations: 234.7 kB / 1.507 GB, free: 9.859 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004871/0.7238, allocations: 152.7 kB / 1.508 GB, free: 9.707 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.7238, allocations: 3.938 kB / 1.508 GB, free: 9.703 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007919/0.7246, allocations: 301.3 kB / 1.508 GB, free: 9.391 MB / 1.201 GB Notification: Performance of pre-optimization done (n=30): time 3.647e-06/0.7246, allocations: 0 / 1.508 GB, free: 9.391 MB / 1.201 GB Notification: Performance of matching and sorting (n=30): time 0.008611/0.7332, allocations: 1.367 MB / 1.509 GB, free: 8.012 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.368e-05/0.7333, allocations: 85.11 kB / 1.509 GB, free: 7.91 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008281/0.7342, allocations: 437.7 kB / 1.51 GB, free: 7.469 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001941/0.7343, allocations: 37.7 kB / 1.51 GB, free: 7.426 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.7347, allocations: 205.7 kB / 1.51 GB, free: 7.223 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.7348, allocations: 103.2 kB / 1.51 GB, free: 7.121 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003494/0.7352, allocations: 166.2 kB / 1.51 GB, free: 6.953 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.7354, allocations: 350.8 kB / 1.51 GB, free: 6.602 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008909/0.7363, allocations: 328.5 kB / 1.511 GB, free: 6.27 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.7375, allocations: 0.6668 MB / 1.511 GB, free: 5.512 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008112/0.7456, allocations: 1.865 MB / 1.513 GB, free: 3.586 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.7457, allocations: 0 / 1.513 GB, free: 3.586 MB / 1.201 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008142/0.7538, allocations: 1.646 MB / 1.515 GB, free: 1.895 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-05/0.7539, allocations: 59.41 kB / 1.515 GB, free: 1.824 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.7539, allocations: 4 kB / 1.515 GB, free: 1.82 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001906/0.7558, allocations: 391.2 kB / 1.515 GB, free: 1.426 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/0.7564, allocations: 95.8 kB / 1.515 GB, free: 1.332 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007005/0.7634, allocations: 4.435 MB / 1.52 GB, free: 12.64 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.7645, allocations: 99.45 kB / 1.52 GB, free: 12.54 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/0.7647, allocations: 39.95 kB / 1.52 GB, free: 12.5 MB / 1.217 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.0004972/0.7652, allocations: 173.4 kB / 1.52 GB, free: 12.32 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.7654, allocations: 43.72 kB / 1.52 GB, free: 12.28 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.7655, allocations: 47.33 kB / 1.52 GB, free: 12.23 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.7655, allocations: 7.938 kB / 1.52 GB, free: 12.22 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.7655, allocations: 0 / 1.52 GB, free: 12.22 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.7655, allocations: 0 / 1.52 GB, free: 12.22 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00065/0.7661, allocations: 345 kB / 1.52 GB, free: 11.86 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-05/0.7662, allocations: 4 kB / 1.52 GB, free: 11.85 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.7664, allocations: 27.97 kB / 1.521 GB, free: 11.82 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00065/0.767, allocations: 221.5 kB / 1.521 GB, free: 11.6 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.635e-05/0.7671, allocations: 11.98 kB / 1.521 GB, free: 11.59 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.7693, allocations: 1.496 MB / 1.522 GB, free: 10.05 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7693, allocations: 0 / 1.522 GB, free: 10.05 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006556/0.7758, allocations: 1.303 MB / 1.523 GB, free: 8.715 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/0.7761, allocations: 79.67 kB / 1.524 GB, free: 8.637 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.7762, allocations: 11.98 kB / 1.524 GB, free: 8.625 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004848/0.7767, allocations: 43.94 kB / 1.524 GB, free: 8.582 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.7768, allocations: 35.94 kB / 1.524 GB, free: 8.547 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.7769, allocations: 19.98 kB / 1.524 GB, free: 8.527 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004665/0.7773, allocations: 279.1 kB / 1.524 GB, free: 8.254 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7773, allocations: 0 / 1.524 GB, free: 8.254 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008951/0.7782, allocations: 171.8 kB / 1.524 GB, free: 8.086 MB / 1.217 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.0004602/0.7787, allocations: 175 kB / 1.524 GB, free: 7.906 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003831/0.7825, allocations: 1.074 MB / 1.525 GB, free: 6.766 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7825, allocations: 0 / 1.525 GB, free: 6.766 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.7841, allocations: 309.5 kB / 1.526 GB, free: 6.457 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006993/0.7847, allocations: 105.4 kB / 1.526 GB, free: 6.355 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.7869, allocations: 0.9157 MB / 1.527 GB, free: 5.426 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.7871, allocations: 199.8 kB / 1.527 GB, free: 5.211 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000333/0.7874, allocations: 47.22 kB / 1.527 GB, free: 5.164 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.7876, allocations: 43.41 kB / 1.527 GB, free: 5.121 MB / 1.217 GB Notification: Performance of SimCode: time 7.62e-07/0.7876, allocations: 0 / 1.527 GB, free: 5.121 MB / 1.217 GB Notification: Performance of Templates: time 0.02812/0.8157, allocations: 13.79 MB / 1.54 GB, free: 7.461 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.477313429117203]