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.001902/0.001902, allocations: 77.23 kB / 19.76 MB, free: 2.031 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.002246/0.002246, allocations: 162.4 kB / 23.01 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.513/1.513, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.904/2.904, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 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.00214/0.00214, allocations: 63.91 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7934/0.7955, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003414/0.7989, allocations: 2.823 MB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1777/0.9766, allocations: 134.9 MB / 1.321 GB, free: 12.09 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003388/0.9769, allocations: 11.94 kB / 1.321 GB, free: 12.08 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.9773, allocations: 79.28 kB / 1.321 GB, free: 12 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0008688/0.9781, allocations: 290 kB / 1.322 GB, free: 11.71 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.9807, allocations: 1.024 MB / 1.323 GB, free: 10.7 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0009103/0.9816, allocations: 0.772 MB / 1.323 GB, free: 9.926 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.9818, allocations: 70.28 kB / 1.323 GB, free: 9.852 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004157/0.9822, allocations: 327 kB / 1.324 GB, free: 9.531 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005091/0.9827, allocations: 306.8 kB / 1.324 GB, free: 9.23 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.9828, allocations: 60 kB / 1.324 GB, free: 9.172 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.9842, allocations: 0.7328 MB / 1.325 GB, free: 8.438 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.9844, allocations: 147.6 kB / 1.325 GB, free: 8.293 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002783/0.9847, allocations: 247 kB / 1.325 GB, free: 8.051 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.986, allocations: 0.9887 MB / 1.326 GB, free: 7.062 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.986, allocations: 0 / 1.326 GB, free: 7.062 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.373e-06/0.986, allocations: 3.938 kB / 1.326 GB, free: 7.059 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.986, allocations: 0 / 1.326 GB, free: 7.059 MB / 1.17 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.002761/0.9888, allocations: 1.055 MB / 1.327 GB, free: 5.953 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.9888, allocations: 12.03 kB / 1.327 GB, free: 5.941 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003254/0.9921, allocations: 328 kB / 1.327 GB, free: 5.621 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006825/0.9928, allocations: 339.3 kB / 1.328 GB, free: 5.266 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.9929, allocations: 95.89 kB / 1.328 GB, free: 5.16 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.993, allocations: 43.95 kB / 1.328 GB, free: 5.117 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008798/0.9938, allocations: 373.2 kB / 1.328 GB, free: 4.734 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.9939, allocations: 3.938 kB / 1.328 GB, free: 4.73 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.9939, allocations: 15.97 kB / 1.328 GB, free: 4.715 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.9939, allocations: 4 kB / 1.328 GB, free: 4.711 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008/0.9947, allocations: 261.7 kB / 1.329 GB, free: 4.457 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004604/0.9993, allocations: 1.463 MB / 1.33 GB, free: 2.945 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008076/1, allocations: 226.7 kB / 1.33 GB, free: 2.715 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004865/1.001, allocations: 148.7 kB / 1.33 GB, free: 2.566 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/1.001, allocations: 7.938 kB / 1.33 GB, free: 2.559 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007775/1.001, allocations: 309.8 kB / 1.331 GB, free: 2.238 MB / 1.17 GB Notification: Performance of pre-optimization done (n=30): time 1.863e-06/1.001, allocations: 0 / 1.331 GB, free: 2.238 MB / 1.17 GB Notification: Performance of matching and sorting (n=30): time 0.008956/1.01, allocations: 1.363 MB / 1.332 GB, free: 0.8633 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.011e-05/1.01, allocations: 85.11 kB / 1.332 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006006/1.011, allocations: 429.8 kB / 1.332 GB, free: 336 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/1.011, allocations: 45.69 kB / 1.332 GB, free: 284 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/1.011, allocations: 201.7 kB / 1.333 GB, free: 80 kB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/1.012, allocations: 107.3 kB / 1.333 GB, free: 15.97 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002997/1.012, allocations: 162.2 kB / 1.333 GB, free: 15.8 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001773/1.012, allocations: 350.8 kB / 1.333 GB, free: 15.45 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008809/1.013, allocations: 328.5 kB / 1.334 GB, free: 15.12 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/1.014, allocations: 0.6707 MB / 1.334 GB, free: 14.36 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00839/1.022, allocations: 1.857 MB / 1.336 GB, free: 12.45 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/1.022, allocations: 0 / 1.336 GB, free: 12.45 MB / 1.186 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008372/1.031, allocations: 1.653 MB / 1.338 GB, free: 10.75 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 7.337e-05/1.031, allocations: 67.52 kB / 1.338 GB, free: 10.68 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.031, allocations: 0 / 1.338 GB, free: 10.68 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001915/1.033, allocations: 399 kB / 1.338 GB, free: 10.27 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/1.033, allocations: 91.86 kB / 1.338 GB, free: 10.18 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00642/1.04, allocations: 4.414 MB / 1.342 GB, free: 5.516 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/1.041, allocations: 111.5 kB / 1.343 GB, free: 5.406 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/1.041, allocations: 35.97 kB / 1.343 GB, free: 5.371 MB / 1.186 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.0003537/1.041, allocations: 175.2 kB / 1.343 GB, free: 5.191 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/1.042, allocations: 47.7 kB / 1.343 GB, free: 5.145 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.086e-05/1.042, allocations: 43.34 kB / 1.343 GB, free: 5.098 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.042, allocations: 4 kB / 1.343 GB, free: 5.094 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/1.042, allocations: 0 / 1.343 GB, free: 5.094 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/1.042, allocations: 3.984 kB / 1.343 GB, free: 5.09 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/1.042, allocations: 345.1 kB / 1.343 GB, free: 4.723 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.042, allocations: 0 / 1.343 GB, free: 4.723 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/1.042, allocations: 27.97 kB / 1.343 GB, free: 4.695 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006671/1.043, allocations: 229.5 kB / 1.343 GB, free: 4.465 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/1.043, allocations: 11.98 kB / 1.343 GB, free: 4.453 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/1.045, allocations: 1.493 MB / 1.345 GB, free: 2.914 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/1.045, allocations: 0 / 1.345 GB, free: 2.914 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006956/1.052, allocations: 1.309 MB / 1.346 GB, free: 1.578 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/1.052, allocations: 87.56 kB / 1.346 GB, free: 1.492 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/1.052, allocations: 8 kB / 1.346 GB, free: 1.484 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005305/1.053, allocations: 35.95 kB / 1.346 GB, free: 1.449 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/1.053, allocations: 35.94 kB / 1.346 GB, free: 1.414 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/1.053, allocations: 23.97 kB / 1.346 GB, free: 1.391 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000428/1.054, allocations: 287.1 kB / 1.347 GB, free: 1.109 MB / 1.186 GB Notification: Performance of sort global known variables: time 8.1e-08/1.054, allocations: 0 / 1.347 GB, free: 1.109 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000735/1.054, allocations: 163.8 kB / 1.347 GB, free: 0.9492 MB / 1.186 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.000371/1.055, allocations: 175 kB / 1.347 GB, free: 0.7695 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003596/1.058, allocations: 1.076 MB / 1.348 GB, free: 15.62 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.058, allocations: 0 / 1.348 GB, free: 15.62 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001629/1.06, allocations: 305.4 kB / 1.348 GB, free: 15.32 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/1.061, allocations: 105.3 kB / 1.348 GB, free: 15.22 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/1.063, allocations: 0.9104 MB / 1.349 GB, free: 14.29 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/1.063, allocations: 199.8 kB / 1.35 GB, free: 14.07 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000286/1.063, allocations: 63.19 kB / 1.35 GB, free: 14.01 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/1.063, allocations: 36.48 kB / 1.35 GB, free: 13.97 MB / 1.201 GB Notification: Performance of SimCode: time 5.11e-07/1.063, allocations: 4 kB / 1.35 GB, free: 13.97 MB / 1.201 GB Notification: Performance of Templates: time 0.0237/1.087, allocations: 13.33 MB / 1.363 GB, free: 0.7695 MB / 1.201 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 -s ida -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/jenkins1/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: 9.672450785990804]