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.001898/0.001898, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.002056/0.002056, allocations: 174.2 kB / 22.46 MB, free: 5.355 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.559/1.559, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 3.007/3.007, allocations: 359 MB / 0.6037 GB, free: 15.02 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.159e-05/4.364e-05, allocations: 4.812 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.00521/0.005254, allocations: 2.805 MB / 0.9538 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.216/0.2213, allocations: 135 MB / 1.086 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005064/0.2218, allocations: 3.938 kB / 1.086 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.2223, allocations: 87.16 kB / 1.086 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.2234, allocations: 299.6 kB / 1.086 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003238/0.2266, allocations: 1.033 MB / 1.087 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001315/0.228, allocations: 0.8067 MB / 1.088 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.2282, allocations: 58.3 kB / 1.088 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007163/0.2289, allocations: 451.1 kB / 1.088 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005735/0.2295, allocations: 275.3 kB / 1.088 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.2296, allocations: 60 kB / 1.089 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002059/0.2317, allocations: 0.7403 MB / 1.089 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.2319, allocations: 151.5 kB / 1.089 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003298/0.2322, allocations: 219.5 kB / 1.09 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.2341, allocations: 1.079 MB / 1.091 GB, free: 12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2341, allocations: 0 / 1.091 GB, free: 12 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2341, allocations: 0 / 1.091 GB, free: 12 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.2341, allocations: 0 / 1.091 GB, free: 12 MB / 0.9981 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.003198/0.2373, allocations: 1.047 MB / 1.092 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.2374, allocations: 8.031 kB / 1.092 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003372/0.2408, allocations: 328 kB / 1.092 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009065/0.2417, allocations: 343.3 kB / 1.092 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.2418, allocations: 91.89 kB / 1.092 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.242, allocations: 40 kB / 1.092 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.243, allocations: 377.1 kB / 1.093 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.243, allocations: 3.938 kB / 1.093 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.243, allocations: 12 kB / 1.093 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.243, allocations: 7.938 kB / 1.093 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008283/0.2439, allocations: 249.7 kB / 1.093 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004909/0.2488, allocations: 1.47 MB / 1.095 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008706/0.2497, allocations: 230.6 kB / 1.095 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/0.2502, allocations: 148.8 kB / 1.095 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/0.2502, allocations: 8.438 kB / 1.095 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008586/0.2511, allocations: 297.2 kB / 1.095 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 2.736e-06/0.2511, allocations: 0 / 1.095 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.009273/0.2603, allocations: 1.382 MB / 1.097 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.2605, allocations: 81.11 kB / 1.097 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008014/0.2613, allocations: 429.7 kB / 1.097 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002519/0.2615, allocations: 45.69 kB / 1.097 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.2618, allocations: 201.7 kB / 1.097 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.2619, allocations: 99.17 kB / 1.097 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003554/0.2623, allocations: 158.2 kB / 1.098 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002427/0.2625, allocations: 350.8 kB / 1.098 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008853/0.2634, allocations: 328.5 kB / 1.098 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.2646, allocations: 0.6746 MB / 1.099 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008308/0.2729, allocations: 1.851 MB / 1.101 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.2729, allocations: 8 kB / 1.101 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.7281/1.001, allocations: 1.644 MB / 1.102 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.254e-05/1.001, allocations: 62.23 kB / 1.102 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.001, allocations: 1.531 kB / 1.102 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002075/1.003, allocations: 397.8 kB / 1.103 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006845/1.004, allocations: 97.45 kB / 1.103 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005687/1.01, allocations: 4.411 MB / 1.107 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.011, allocations: 100.2 kB / 1.107 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/1.011, allocations: 37.28 kB / 1.107 GB, free: 157.9 MB / 0.9981 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.0003163/1.011, allocations: 175.4 kB / 1.107 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.299e-05/1.011, allocations: 39.12 kB / 1.107 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.322e-05/1.011, allocations: 47.28 kB / 1.107 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.011, allocations: 4.891 kB / 1.107 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.011, allocations: 2.047 kB / 1.107 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/1.011, allocations: 2.062 kB / 1.107 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005158/1.012, allocations: 347.9 kB / 1.108 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/1.012, allocations: 0 / 1.108 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/1.012, allocations: 32.34 kB / 1.108 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007106/1.013, allocations: 227.4 kB / 1.108 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/1.013, allocations: 16.11 kB / 1.108 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/1.014, allocations: 1.493 MB / 1.11 GB, free: 156.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.014, allocations: 0 / 1.11 GB, free: 156.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007117/1.022, allocations: 1.304 MB / 1.111 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/1.022, allocations: 86.17 kB / 1.111 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.992e-05/1.022, allocations: 14.22 kB / 1.111 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005104/1.022, allocations: 38.2 kB / 1.111 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/1.023, allocations: 38.31 kB / 1.111 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-05/1.023, allocations: 18.31 kB / 1.111 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004149/1.023, allocations: 280.7 kB / 1.111 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.023, allocations: 3.781 kB / 1.111 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007856/1.024, allocations: 166.6 kB / 1.111 GB, free: 155.6 MB / 0.9981 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.0004023/1.024, allocations: 181.4 kB / 1.112 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003539/1.028, allocations: 1.058 MB / 1.113 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.028, allocations: 3.781 kB / 1.113 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001697/1.03, allocations: 323.4 kB / 1.113 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007184/1.03, allocations: 107 kB / 1.113 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/1.032, allocations: 0.8351 MB / 1.114 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/1.032, allocations: 204.7 kB / 1.114 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000298/1.033, allocations: 59.89 kB / 1.114 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/1.033, allocations: 38.73 kB / 1.114 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.443e-06/1.033, allocations: 0.9688 kB / 1.114 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.03175/1.065, allocations: 13.24 MB / 1.127 GB, free: 152.8 MB / 0.9981 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/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: 10.509776122868061]