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.001413/0.001413, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001525/0.001525, allocations: 214.7 kB / 22.99 MB, free: 4.945 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 2.805/2.805, allocations: 476 MB / 0.7707 GB, free: 4.719 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.002271/0.002271, allocations: 64.94 kB / 1.118 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4089, allocations: 170 MB / 1.284 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005616/0.4145, allocations: 2.808 MB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2062/0.6207, allocations: 134.9 MB / 1.418 GB, free: 1.637 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005851/0.6213, allocations: 7.938 kB / 1.418 GB, free: 1.629 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005959/0.6219, allocations: 83.28 kB / 1.418 GB, free: 1.547 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.6236, allocations: 294 kB / 1.419 GB, free: 1.258 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004121/0.6278, allocations: 1.014 MB / 1.42 GB, free: 260 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001774/0.6295, allocations: 0.7758 MB / 1.42 GB, free: 15.47 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.6298, allocations: 70.11 kB / 1.421 GB, free: 15.4 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008964/0.6307, allocations: 323.1 kB / 1.421 GB, free: 15.09 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009582/0.6317, allocations: 310.8 kB / 1.421 GB, free: 14.78 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002668/0.6319, allocations: 60 kB / 1.421 GB, free: 14.72 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/0.6346, allocations: 0.7406 MB / 1.422 GB, free: 13.98 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003169/0.6349, allocations: 147.6 kB / 1.422 GB, free: 13.84 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005697/0.6354, allocations: 247 kB / 1.422 GB, free: 13.59 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002587/0.638, allocations: 0.981 MB / 1.423 GB, free: 12.61 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.638, allocations: 0 / 1.423 GB, free: 12.61 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.813e-06/0.638, allocations: 0 / 1.423 GB, free: 12.61 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.887e-05/0.6381, allocations: 0 / 1.423 GB, free: 12.61 MB / 1.123 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.004227/0.6423, allocations: 1.06 MB / 1.424 GB, free: 11.5 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.6423, allocations: 8.031 kB / 1.424 GB, free: 11.49 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004786/0.6471, allocations: 332 kB / 1.425 GB, free: 11.17 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.6485, allocations: 355.2 kB / 1.425 GB, free: 10.79 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.6487, allocations: 91.83 kB / 1.425 GB, free: 10.69 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.6489, allocations: 40 kB / 1.425 GB, free: 10.65 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.6502, allocations: 376.2 kB / 1.425 GB, free: 10.27 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.6502, allocations: 0 / 1.425 GB, free: 10.27 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.647e-05/0.6503, allocations: 8 kB / 1.425 GB, free: 10.26 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.6503, allocations: 4 kB / 1.425 GB, free: 10.25 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.6514, allocations: 261.4 kB / 1.426 GB, free: 10 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006363/0.6578, allocations: 1.466 MB / 1.427 GB, free: 8.484 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.6589, allocations: 230.6 kB / 1.427 GB, free: 8.25 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006704/0.6596, allocations: 152.6 kB / 1.427 GB, free: 8.098 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.146e-05/0.6596, allocations: 4 kB / 1.427 GB, free: 8.094 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.6607, allocations: 302 kB / 1.428 GB, free: 7.781 MB / 1.123 GB Notification: Performance of pre-optimization done (n=30): time 2.835e-06/0.6607, allocations: 0 / 1.428 GB, free: 7.781 MB / 1.123 GB Notification: Performance of matching and sorting (n=30): time 0.01145/0.6721, allocations: 1.362 MB / 1.429 GB, free: 6.406 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.087e-05/0.6722, allocations: 85.11 kB / 1.429 GB, free: 6.305 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009245/0.6731, allocations: 437.7 kB / 1.43 GB, free: 5.867 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001976/0.6733, allocations: 41.64 kB / 1.43 GB, free: 5.82 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/0.6737, allocations: 209.6 kB / 1.43 GB, free: 5.613 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.6739, allocations: 103.2 kB / 1.43 GB, free: 5.512 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004307/0.6743, allocations: 154.2 kB / 1.43 GB, free: 5.352 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002644/0.6746, allocations: 350.8 kB / 1.43 GB, free: 5 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.6757, allocations: 332.5 kB / 1.431 GB, free: 4.664 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.6774, allocations: 0.6668 MB / 1.431 GB, free: 3.906 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008025/0.6854, allocations: 1.859 MB / 1.433 GB, free: 1.988 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.6854, allocations: 0 / 1.433 GB, free: 1.988 MB / 1.123 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007826/0.6932, allocations: 1.657 MB / 1.435 GB, free: 292 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 7.511e-05/0.6933, allocations: 59.41 kB / 1.435 GB, free: 220 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.6933, allocations: 4 kB / 1.435 GB, free: 216 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001849/0.6952, allocations: 391.2 kB / 1.435 GB, free: 15.81 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005864/0.6957, allocations: 99.73 kB / 1.435 GB, free: 15.71 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00664/0.7024, allocations: 4.407 MB / 1.44 GB, free: 11.05 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.7034, allocations: 103.5 kB / 1.44 GB, free: 10.95 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.7035, allocations: 39.95 kB / 1.44 GB, free: 10.91 MB / 1.139 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.000403/0.7039, allocations: 178.6 kB / 1.44 GB, free: 10.73 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.7041, allocations: 43.72 kB / 1.44 GB, free: 10.68 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.341e-05/0.7042, allocations: 39.34 kB / 1.44 GB, free: 10.64 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.7042, allocations: 4 kB / 1.44 GB, free: 10.64 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.7042, allocations: 7.984 kB / 1.44 GB, free: 10.63 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7042, allocations: 0 / 1.44 GB, free: 10.63 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005784/0.7048, allocations: 353 kB / 1.44 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.7048, allocations: 0 / 1.44 GB, free: 10.25 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.7049, allocations: 23.97 kB / 1.44 GB, free: 10.23 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006568/0.7056, allocations: 237.5 kB / 1.441 GB, free: 9.992 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.589e-05/0.7057, allocations: 11.98 kB / 1.441 GB, free: 9.98 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.7078, allocations: 1.495 MB / 1.442 GB, free: 8.441 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7078, allocations: 0 / 1.442 GB, free: 8.441 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006358/0.7142, allocations: 1.295 MB / 1.443 GB, free: 7.121 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.7144, allocations: 87.56 kB / 1.443 GB, free: 7.035 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.175e-05/0.7145, allocations: 8 kB / 1.443 GB, free: 7.027 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/0.715, allocations: 43.94 kB / 1.444 GB, free: 6.984 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002113/0.7152, allocations: 35.94 kB / 1.444 GB, free: 6.949 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/0.7152, allocations: 16.08 kB / 1.444 GB, free: 6.934 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004147/0.7156, allocations: 287.1 kB / 1.444 GB, free: 6.656 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.7156, allocations: 0 / 1.444 GB, free: 6.656 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0007125/0.7164, allocations: 167.8 kB / 1.444 GB, free: 6.492 MB / 1.139 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.0003771/0.7167, allocations: 179 kB / 1.444 GB, free: 6.309 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003412/0.7201, allocations: 1.076 MB / 1.445 GB, free: 5.164 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.7201, allocations: 4.125 kB / 1.445 GB, free: 5.16 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/0.7216, allocations: 309.3 kB / 1.446 GB, free: 4.852 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/0.7222, allocations: 101.4 kB / 1.446 GB, free: 4.754 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.7243, allocations: 0.9377 MB / 1.447 GB, free: 3.797 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.7246, allocations: 203.8 kB / 1.447 GB, free: 3.578 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.7247, allocations: 35.42 kB / 1.447 GB, free: 3.543 MB / 1.139 GB Notification: Performance of SimCode: time 7.22e-07/0.7247, allocations: 7.938 kB / 1.447 GB, free: 3.535 MB / 1.139 GB Notification: Performance of Templates: time 0.01985/0.7446, allocations: 12.34 MB / 1.459 GB, free: 7.227 MB / 1.154 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/jenkins1/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: 13.865147661883384]