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.001575/0.001575, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001804/0.001804, allocations: 218.3 kB / 23.01 MB, free: 4.605 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.361/3.361, allocations: 0.505 GB / 0.8108 GB, free: 22.04 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.002063/0.002063, allocations: 66.31 kB / 1.178 GB, free: 16.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3717, allocations: 180.2 MB / 1.354 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004527/0.3762, allocations: 3.038 MB / 1.357 GB, free: 4.871 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1999/0.5761, allocations: 156.8 MB / 1.51 GB, free: 7.453 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003626/0.5765, allocations: 7.938 kB / 1.51 GB, free: 7.445 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.5769, allocations: 91.19 kB / 1.51 GB, free: 7.355 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0008885/0.5778, allocations: 290.1 kB / 1.511 GB, free: 7.07 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.5805, allocations: 1.037 MB / 1.512 GB, free: 6.043 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001015/0.5815, allocations: 0.7797 MB / 1.512 GB, free: 5.262 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.5817, allocations: 86.03 kB / 1.512 GB, free: 5.176 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004117/0.5821, allocations: 323.1 kB / 1.513 GB, free: 4.859 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005131/0.5827, allocations: 338.8 kB / 1.513 GB, free: 4.527 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 9.735e-05/0.5828, allocations: 60 kB / 1.513 GB, free: 4.469 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.5846, allocations: 0.8459 MB / 1.514 GB, free: 3.621 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.5848, allocations: 159.5 kB / 1.514 GB, free: 3.465 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003132/0.5851, allocations: 282.8 kB / 1.514 GB, free: 3.188 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.5866, allocations: 0.9888 MB / 1.515 GB, free: 2.195 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.5866, allocations: 4 kB / 1.515 GB, free: 2.191 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5866, allocations: 0 / 1.515 GB, free: 2.191 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.5866, allocations: 0 / 1.515 GB, free: 2.191 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.002897/0.5895, allocations: 1.051 MB / 1.516 GB, free: 1.09 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.5895, allocations: 8.031 kB / 1.516 GB, free: 1.082 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/0.5926, allocations: 328 kB / 1.517 GB, free: 0.7617 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007801/0.5934, allocations: 343.2 kB / 1.517 GB, free: 412 kB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.5935, allocations: 95.83 kB / 1.517 GB, free: 304 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/0.5936, allocations: 44 kB / 1.517 GB, free: 260 kB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008439/0.5945, allocations: 372.2 kB / 1.518 GB, free: 15.87 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.5945, allocations: 0 / 1.518 GB, free: 15.87 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.5945, allocations: 15.94 kB / 1.518 GB, free: 15.85 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.5945, allocations: 4 kB / 1.518 GB, free: 15.85 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/0.5953, allocations: 257.4 kB / 1.518 GB, free: 15.59 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004609/0.5999, allocations: 1.645 MB / 1.519 GB, free: 13.89 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007861/0.6007, allocations: 242.5 kB / 1.52 GB, free: 13.64 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004574/0.6011, allocations: 148.7 kB / 1.52 GB, free: 13.5 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.6012, allocations: 0 / 1.52 GB, free: 13.5 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007282/0.6019, allocations: 316.7 kB / 1.52 GB, free: 13.17 MB / 1.217 GB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.6019, allocations: 0 / 1.52 GB, free: 13.17 MB / 1.217 GB Notification: Performance of matching and sorting (n=30): time 0.008403/0.6103, allocations: 1.366 MB / 1.521 GB, free: 11.79 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.6104, allocations: 81.11 kB / 1.521 GB, free: 11.69 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/0.6111, allocations: 457.8 kB / 1.522 GB, free: 11.23 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.6112, allocations: 41.7 kB / 1.522 GB, free: 11.19 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.6114, allocations: 201 kB / 1.522 GB, free: 10.99 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.6116, allocations: 107.2 kB / 1.522 GB, free: 10.88 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003212/0.6119, allocations: 154.2 kB / 1.522 GB, free: 10.72 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.6121, allocations: 354.8 kB / 1.523 GB, free: 10.37 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007713/0.6128, allocations: 273.1 kB / 1.523 GB, free: 10.1 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008984/0.6137, allocations: 425.8 kB / 1.523 GB, free: 9.656 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007578/0.6213, allocations: 1.85 MB / 1.525 GB, free: 7.75 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.6213, allocations: 0 / 1.525 GB, free: 7.75 MB / 1.217 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007736/0.6291, allocations: 1.596 MB / 1.527 GB, free: 6.121 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 6.321e-05/0.6291, allocations: 59.41 kB / 1.527 GB, free: 6.051 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.6291, allocations: 128 / 1.527 GB, free: 6.051 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001804/0.6309, allocations: 410.9 kB / 1.527 GB, free: 5.637 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005747/0.6315, allocations: 91.86 kB / 1.527 GB, free: 5.547 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006324/0.6378, allocations: 4.482 MB / 1.532 GB, free: 0.7734 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.6389, allocations: 99.45 kB / 1.532 GB, free: 0.6758 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.576e-05/0.639, allocations: 39.97 kB / 1.532 GB, free: 0.6367 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.0003498/0.6394, allocations: 180.8 kB / 1.532 GB, free: 464 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.315e-05/0.6395, allocations: 47.67 kB / 1.532 GB, free: 416 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.972e-05/0.6395, allocations: 43.5 kB / 1.532 GB, free: 376 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.6395, allocations: 8 kB / 1.532 GB, free: 368 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.6395, allocations: 3.938 kB / 1.532 GB, free: 364 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.6396, allocations: 7.922 kB / 1.532 GB, free: 356 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006218/0.6402, allocations: 440.5 kB / 1.533 GB, free: 15.87 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.6402, allocations: 0 / 1.533 GB, free: 15.87 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.6404, allocations: 31.91 kB / 1.533 GB, free: 15.84 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006337/0.641, allocations: 233.4 kB / 1.533 GB, free: 15.61 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/0.641, allocations: 11.98 kB / 1.533 GB, free: 15.6 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/0.643, allocations: 1.489 MB / 1.534 GB, free: 14.06 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.643, allocations: 4 kB / 1.534 GB, free: 14.06 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006463/0.6495, allocations: 1.299 MB / 1.536 GB, free: 12.73 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/0.6497, allocations: 83.62 kB / 1.536 GB, free: 12.65 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.004e-05/0.6498, allocations: 12 kB / 1.536 GB, free: 12.64 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004686/0.6503, allocations: 39.95 kB / 1.536 GB, free: 12.6 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.6504, allocations: 39.92 kB / 1.536 GB, free: 12.56 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.6505, allocations: 15.98 kB / 1.536 GB, free: 12.54 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000423/0.6509, allocations: 299.1 kB / 1.536 GB, free: 12.25 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6509, allocations: 4 kB / 1.536 GB, free: 12.25 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0007034/0.6516, allocations: 167.8 kB / 1.536 GB, free: 12.08 MB / 1.232 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.0004014/0.652, allocations: 178.5 kB / 1.536 GB, free: 11.9 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003236/0.6552, allocations: 1.009 MB / 1.537 GB, free: 10.84 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6552, allocations: 128 / 1.537 GB, free: 10.84 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.6568, allocations: 317.3 kB / 1.538 GB, free: 10.52 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.6574, allocations: 114.5 kB / 1.538 GB, free: 10.41 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.6593, allocations: 0.9282 MB / 1.539 GB, free: 9.449 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.6597, allocations: 0.8113 MB / 1.539 GB, free: 8.609 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.6599, allocations: 35.42 kB / 1.539 GB, free: 8.574 MB / 1.232 GB Notification: Performance of SimCode: time 8.42e-07/0.6599, allocations: 0 / 1.539 GB, free: 8.574 MB / 1.232 GB Notification: Performance of Templates: time 0.01795/0.6779, allocations: 12.32 MB / 1.551 GB, free: 12.28 MB / 1.248 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/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: 13.877169448009226]