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.001909/0.001909, 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.002005/0.002005, allocations: 211.5 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.589/1.589, allocations: 230.6 MB / 256 MB, free: 7.746 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.992/2.992, allocations: 475.9 MB / 0.7699 GB, free: 4.77 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.002191/0.002191, allocations: 65.11 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.458/0.4602, allocations: 170 MB / 1.283 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.00559/0.4658, allocations: 2.812 MB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2156/0.6814, allocations: 134.9 MB / 1.418 GB, free: 1.625 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004745/0.6819, allocations: 7.938 kB / 1.418 GB, free: 1.617 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004348/0.6823, allocations: 87.28 kB / 1.418 GB, free: 1.531 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.6833, allocations: 290 kB / 1.418 GB, free: 1.246 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.6864, allocations: 1.004 MB / 1.419 GB, free: 256 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001129/0.6875, allocations: 0.7875 MB / 1.42 GB, free: 15.46 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.6877, allocations: 62.19 kB / 1.42 GB, free: 15.39 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004482/0.6882, allocations: 327 kB / 1.42 GB, free: 15.07 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005541/0.6887, allocations: 310.8 kB / 1.42 GB, free: 14.77 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.6888, allocations: 60 kB / 1.42 GB, free: 14.71 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.6907, allocations: 0.7289 MB / 1.421 GB, free: 13.98 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.6908, allocations: 151.6 kB / 1.421 GB, free: 13.83 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002921/0.6911, allocations: 250.9 kB / 1.422 GB, free: 13.59 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.6928, allocations: 0.9811 MB / 1.422 GB, free: 12.6 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.6928, allocations: 0 / 1.422 GB, free: 12.6 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6928, allocations: 0 / 1.422 GB, free: 12.6 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.6928, allocations: 0 / 1.422 GB, free: 12.6 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.002896/0.6957, allocations: 1.055 MB / 1.424 GB, free: 11.5 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.6957, allocations: 12.03 kB / 1.424 GB, free: 11.48 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003016/0.6987, allocations: 332 kB / 1.424 GB, free: 11.16 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008524/0.6996, allocations: 351.1 kB / 1.424 GB, free: 10.79 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.6997, allocations: 95.83 kB / 1.424 GB, free: 10.68 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.6998, allocations: 44 kB / 1.424 GB, free: 10.64 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008955/0.7007, allocations: 372.2 kB / 1.425 GB, free: 10.26 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.7008, allocations: 0 / 1.425 GB, free: 10.26 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.7008, allocations: 12 kB / 1.425 GB, free: 10.25 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.7008, allocations: 4 kB / 1.425 GB, free: 10.24 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007859/0.7016, allocations: 257.4 kB / 1.425 GB, free: 9.992 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004717/0.7063, allocations: 1.462 MB / 1.426 GB, free: 8.48 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008267/0.7071, allocations: 234.7 kB / 1.427 GB, free: 8.242 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000479/0.7076, allocations: 160.6 kB / 1.427 GB, free: 8.082 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.7077, allocations: 4 kB / 1.427 GB, free: 8.078 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007654/0.7084, allocations: 298 kB / 1.427 GB, free: 7.77 MB / 1.123 GB Notification: Performance of pre-optimization done (n=30): time 2.534e-06/0.7084, allocations: 4 kB / 1.427 GB, free: 7.766 MB / 1.123 GB Notification: Performance of matching and sorting (n=30): time 0.008456/0.7169, allocations: 1.353 MB / 1.428 GB, free: 6.398 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.51e-05/0.717, allocations: 85.11 kB / 1.428 GB, free: 6.297 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007472/0.7177, allocations: 437.7 kB / 1.429 GB, free: 5.859 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.7179, allocations: 41.7 kB / 1.429 GB, free: 5.812 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.7181, allocations: 213.6 kB / 1.429 GB, free: 5.602 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.7182, allocations: 99.22 kB / 1.429 GB, free: 5.504 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003242/0.7186, allocations: 154.2 kB / 1.429 GB, free: 5.344 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002316/0.7188, allocations: 350.8 kB / 1.43 GB, free: 4.992 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008877/0.7197, allocations: 332.5 kB / 1.43 GB, free: 4.656 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.7209, allocations: 0.6668 MB / 1.431 GB, free: 3.898 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007921/0.7288, allocations: 1.855 MB / 1.432 GB, free: 1.984 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.7288, allocations: 4 kB / 1.432 GB, free: 1.98 MB / 1.123 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007784/0.7366, allocations: 1.65 MB / 1.434 GB, free: 292 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 6.894e-05/0.7367, allocations: 59.41 kB / 1.434 GB, free: 220 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.7367, allocations: 4.125 kB / 1.434 GB, free: 216 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001836/0.7385, allocations: 391.1 kB / 1.434 GB, free: 15.81 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005618/0.7391, allocations: 99.73 kB / 1.435 GB, free: 15.71 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00658/0.7457, allocations: 4.425 MB / 1.439 GB, free: 11.04 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.7467, allocations: 99.52 kB / 1.439 GB, free: 10.94 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.232e-05/0.7468, allocations: 39.95 kB / 1.439 GB, free: 10.9 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.0003544/0.7471, allocations: 178.5 kB / 1.439 GB, free: 10.72 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.061e-05/0.7472, allocations: 39.72 kB / 1.439 GB, free: 10.68 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.355e-05/0.7473, allocations: 47.33 kB / 1.439 GB, free: 10.63 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.7473, allocations: 8 kB / 1.439 GB, free: 10.62 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7473, allocations: 0 / 1.439 GB, free: 10.62 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.7473, allocations: 4 kB / 1.439 GB, free: 10.62 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005588/0.7479, allocations: 353 kB / 1.44 GB, free: 10.24 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.7479, allocations: 0 / 1.44 GB, free: 10.24 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.7481, allocations: 27.97 kB / 1.44 GB, free: 10.21 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006481/0.7487, allocations: 222 kB / 1.44 GB, free: 9.992 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.7488, allocations: 11.98 kB / 1.44 GB, free: 9.98 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.7508, allocations: 1.5 MB / 1.441 GB, free: 8.434 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7508, allocations: 8 kB / 1.441 GB, free: 8.426 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006485/0.7573, allocations: 1.296 MB / 1.443 GB, free: 7.102 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.7576, allocations: 83.53 kB / 1.443 GB, free: 7.02 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.414e-05/0.7577, allocations: 11.98 kB / 1.443 GB, free: 7.008 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/0.7582, allocations: 39.95 kB / 1.443 GB, free: 6.969 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.7583, allocations: 35.94 kB / 1.443 GB, free: 6.934 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.7583, allocations: 15.98 kB / 1.443 GB, free: 6.918 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004231/0.7588, allocations: 283.1 kB / 1.443 GB, free: 6.645 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7588, allocations: 4 kB / 1.443 GB, free: 6.641 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009284/0.7597, allocations: 167.8 kB / 1.443 GB, free: 6.477 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.0004395/0.7601, allocations: 179 kB / 1.443 GB, free: 6.293 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.003452/0.7636, allocations: 1.072 MB / 1.444 GB, free: 5.152 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.7636, allocations: 4 kB / 1.444 GB, free: 5.148 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/0.7651, allocations: 309.6 kB / 1.445 GB, free: 4.84 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006267/0.7657, allocations: 105.4 kB / 1.445 GB, free: 4.738 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.7678, allocations: 0.9052 MB / 1.446 GB, free: 3.82 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.768, allocations: 203.7 kB / 1.446 GB, free: 3.602 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003524/0.7684, allocations: 59.22 kB / 1.446 GB, free: 3.543 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.7685, allocations: 39.41 kB / 1.446 GB, free: 3.504 MB / 1.139 GB Notification: Performance of SimCode: time 1.062e-06/0.7685, allocations: 0 / 1.446 GB, free: 3.504 MB / 1.139 GB Notification: Performance of Templates: time 0.02515/0.7937, allocations: 13.79 MB / 1.459 GB, free: 5.844 MB / 1.154 GB " [Timeout remaining time 298] 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/jenkins/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: 11.16438484378159]