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.001457/0.001457, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001765/0.001765, allocations: 210.6 kB / 23.01 MB, free: 4.57 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.804/2.804, allocations: 476.8 MB / 0.7714 GB, free: 4.242 MB / 0.6231 GB " [Timeout remaining time 177] 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.002075/0.002075, allocations: 68.61 kB / 1.119 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3629, allocations: 170 MB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004749/0.3677, allocations: 3.054 MB / 1.288 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.212/0.5796, allocations: 156.8 MB / 1.441 GB, free: 10.7 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004645/0.5801, allocations: 7.938 kB / 1.441 GB, free: 10.69 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0004292/0.5805, allocations: 91.19 kB / 1.441 GB, free: 10.6 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0009739/0.5815, allocations: 290.1 kB / 1.441 GB, free: 10.31 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00295/0.5844, allocations: 1.035 MB / 1.442 GB, free: 9.289 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.5854, allocations: 0.7874 MB / 1.443 GB, free: 8.496 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.5856, allocations: 62.25 kB / 1.443 GB, free: 8.434 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004058/0.586, allocations: 335 kB / 1.443 GB, free: 8.105 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005223/0.5866, allocations: 338.8 kB / 1.444 GB, free: 7.773 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 9.73e-05/0.5867, allocations: 60 kB / 1.444 GB, free: 7.715 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/0.5884, allocations: 0.8459 MB / 1.444 GB, free: 6.867 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.5885, allocations: 155.6 kB / 1.445 GB, free: 6.715 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000294/0.5888, allocations: 278.8 kB / 1.445 GB, free: 6.441 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.5903, allocations: 0.9927 MB / 1.446 GB, free: 5.445 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5903, allocations: 0 / 1.446 GB, free: 5.445 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.524e-06/0.5903, allocations: 0 / 1.446 GB, free: 5.445 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.5903, allocations: 4 kB / 1.446 GB, free: 5.441 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.002819/0.5931, allocations: 1.055 MB / 1.447 GB, free: 4.336 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.5931, allocations: 8.031 kB / 1.447 GB, free: 4.328 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003178/0.5963, allocations: 336 kB / 1.447 GB, free: 4 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000701/0.597, allocations: 343.2 kB / 1.448 GB, free: 3.641 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.5971, allocations: 95.83 kB / 1.448 GB, free: 3.535 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.5972, allocations: 39.98 kB / 1.448 GB, free: 3.496 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008417/0.5981, allocations: 376.2 kB / 1.448 GB, free: 3.109 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5981, allocations: 3.938 kB / 1.448 GB, free: 3.105 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.5981, allocations: 4 kB / 1.448 GB, free: 3.102 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.5981, allocations: 12 kB / 1.448 GB, free: 3.09 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007228/0.5989, allocations: 257.4 kB / 1.448 GB, free: 2.84 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00458/0.6035, allocations: 1.649 MB / 1.45 GB, free: 1.129 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007443/0.6042, allocations: 238.6 kB / 1.45 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004409/0.6046, allocations: 140.8 kB / 1.45 GB, free: 0.7461 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.6047, allocations: 0 / 1.45 GB, free: 0.7461 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007396/0.6054, allocations: 310 kB / 1.451 GB, free: 436 kB / 1.139 GB Notification: Performance of pre-optimization done (n=30): time 1.654e-06/0.6054, allocations: 0 / 1.451 GB, free: 436 kB / 1.139 GB Notification: Performance of matching and sorting (n=30): time 0.008313/0.6137, allocations: 1.377 MB / 1.452 GB, free: 15.04 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.721e-05/0.6138, allocations: 81.11 kB / 1.452 GB, free: 14.94 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006964/0.6145, allocations: 453.8 kB / 1.452 GB, free: 14.49 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001305/0.6146, allocations: 41.7 kB / 1.452 GB, free: 14.44 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.6149, allocations: 205 kB / 1.453 GB, free: 14.24 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.615, allocations: 99.2 kB / 1.453 GB, free: 14.14 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003076/0.6153, allocations: 166.1 kB / 1.453 GB, free: 13.97 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.6155, allocations: 358.7 kB / 1.453 GB, free: 13.61 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007537/0.6162, allocations: 265.2 kB / 1.454 GB, free: 13.35 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000948/0.6172, allocations: 425.8 kB / 1.454 GB, free: 12.91 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007668/0.6249, allocations: 1.855 MB / 1.456 GB, free: 10.99 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.6249, allocations: 4 kB / 1.456 GB, free: 10.99 MB / 1.154 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007674/0.6325, allocations: 1.588 MB / 1.457 GB, free: 9.367 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/0.6326, allocations: 65.84 kB / 1.457 GB, free: 9.293 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.6326, allocations: 0 / 1.457 GB, free: 9.293 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/0.6344, allocations: 407.1 kB / 1.458 GB, free: 8.883 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005813/0.635, allocations: 95.86 kB / 1.458 GB, free: 8.789 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006325/0.6413, allocations: 4.465 MB / 1.462 GB, free: 4.031 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.6424, allocations: 103.4 kB / 1.462 GB, free: 3.93 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.968e-05/0.6425, allocations: 43.97 kB / 1.462 GB, free: 3.887 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.0003514/0.6428, allocations: 174.1 kB / 1.463 GB, free: 3.707 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.421e-05/0.6429, allocations: 43.72 kB / 1.463 GB, free: 3.664 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.584e-05/0.643, allocations: 39.52 kB / 1.463 GB, free: 3.629 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.643, allocations: 4 kB / 1.463 GB, free: 3.625 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.643, allocations: 3.938 kB / 1.463 GB, free: 3.621 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.643, allocations: 8.125 kB / 1.463 GB, free: 3.613 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005855/0.6436, allocations: 448.4 kB / 1.463 GB, free: 3.133 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.6436, allocations: 3.984 kB / 1.463 GB, free: 3.129 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.6438, allocations: 23.97 kB / 1.463 GB, free: 3.105 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006139/0.6444, allocations: 233.5 kB / 1.463 GB, free: 2.871 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.6444, allocations: 11.98 kB / 1.463 GB, free: 2.859 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.6463, allocations: 1.493 MB / 1.465 GB, free: 1.32 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6463, allocations: 0 / 1.465 GB, free: 1.32 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006264/0.6526, allocations: 1.307 MB / 1.466 GB, free: 15.98 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.6528, allocations: 87.62 kB / 1.466 GB, free: 15.89 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.037e-05/0.6529, allocations: 11.94 kB / 1.466 GB, free: 15.88 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/0.6534, allocations: 39.95 kB / 1.466 GB, free: 15.84 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.6536, allocations: 43.92 kB / 1.466 GB, free: 15.8 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.6536, allocations: 15.98 kB / 1.466 GB, free: 15.79 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004141/0.654, allocations: 295.1 kB / 1.467 GB, free: 15.5 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.21e-07/0.654, allocations: 0 / 1.467 GB, free: 15.5 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007304/0.6547, allocations: 167.8 kB / 1.467 GB, free: 15.33 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.0003826/0.6551, allocations: 182.9 kB / 1.467 GB, free: 15.15 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.003228/0.6583, allocations: 1.01 MB / 1.468 GB, free: 14.08 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6584, allocations: 0 / 1.468 GB, free: 14.08 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.6599, allocations: 325.3 kB / 1.468 GB, free: 13.76 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.6605, allocations: 105.8 kB / 1.468 GB, free: 13.65 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.6624, allocations: 0.9301 MB / 1.469 GB, free: 12.7 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.6629, allocations: 0.8113 MB / 1.47 GB, free: 11.86 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.6631, allocations: 35.42 kB / 1.47 GB, free: 11.83 MB / 1.17 GB Notification: Performance of SimCode: time 4.91e-07/0.6631, allocations: 0 / 1.47 GB, free: 11.83 MB / 1.17 GB Notification: Performance of Templates: time 0.01811/0.6812, allocations: 12.33 MB / 1.482 GB, free: 15.53 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/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.875043371983338]