Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001941/0.001941, allocations: 78.88 kB / 19.18 MB, free: 2.527 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.002419/0.002419, allocations: 164.5 kB / 22.46 MB, free: 5.375 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.603/1.603, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.053/3.053, allocations: 377.8 MB / 0.6221 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.297e-05/3.478e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005154/0.005189, allocations: 2.812 MB / 0.9842 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.2047/0.2099, allocations: 135 MB / 1.116 GB, free: 1.582 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000392/0.2103, allocations: 0 / 1.116 GB, free: 1.582 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004345/0.2107, allocations: 91.16 kB / 1.116 GB, free: 1.492 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.2118, allocations: 301.7 kB / 1.116 GB, free: 1.195 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002909/0.2147, allocations: 1.032 MB / 1.117 GB, free: 176 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.2159, allocations: 0.803 MB / 1.118 GB, free: 15.36 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.2161, allocations: 58.3 kB / 1.118 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006015/0.2167, allocations: 455 kB / 1.119 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004994/0.2172, allocations: 279.3 kB / 1.119 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.2173, allocations: 60 kB / 1.119 GB, free: 14.53 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.2193, allocations: 0.7441 MB / 1.12 GB, free: 13.78 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.2195, allocations: 151.6 kB / 1.12 GB, free: 13.63 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.2199, allocations: 219.5 kB / 1.12 GB, free: 13.42 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002324/0.2222, allocations: 1.075 MB / 1.121 GB, free: 12.34 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2222, allocations: 0 / 1.121 GB, free: 12.34 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2222, allocations: 0 / 1.121 GB, free: 12.34 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.2222, allocations: 0 / 1.121 GB, free: 12.34 MB / 1.076 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.00308/0.2253, allocations: 1.047 MB / 1.122 GB, free: 11.24 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.2253, allocations: 8.031 kB / 1.122 GB, free: 11.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003286/0.2286, allocations: 324 kB / 1.122 GB, free: 10.92 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007973/0.2294, allocations: 355.2 kB / 1.123 GB, free: 10.55 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.2295, allocations: 95.89 kB / 1.123 GB, free: 10.45 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.2296, allocations: 40 kB / 1.123 GB, free: 10.41 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009528/0.2306, allocations: 377.1 kB / 1.123 GB, free: 10.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.2306, allocations: 0 / 1.123 GB, free: 10.02 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.087e-05/0.2306, allocations: 8 kB / 1.123 GB, free: 10.01 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.2307, allocations: 8 kB / 1.123 GB, free: 10 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008577/0.2315, allocations: 253.7 kB / 1.124 GB, free: 9.754 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004743/0.2363, allocations: 1.471 MB / 1.125 GB, free: 8.238 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008351/0.2371, allocations: 226.5 kB / 1.125 GB, free: 8.012 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004929/0.2376, allocations: 155.3 kB / 1.125 GB, free: 7.859 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.2376, allocations: 4 kB / 1.125 GB, free: 7.855 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008041/0.2384, allocations: 300.8 kB / 1.126 GB, free: 7.543 MB / 1.076 GB Notification: Performance of pre-optimization done (n=30): time 2.154e-06/0.2384, allocations: 0 / 1.126 GB, free: 7.543 MB / 1.076 GB Notification: Performance of matching and sorting (n=30): time 0.009069/0.2475, allocations: 1.367 MB / 1.127 GB, free: 6.164 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.783e-05/0.2476, allocations: 81.11 kB / 1.127 GB, free: 6.066 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006363/0.2482, allocations: 441.6 kB / 1.127 GB, free: 5.621 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001528/0.2483, allocations: 45.7 kB / 1.128 GB, free: 5.57 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.2486, allocations: 201.7 kB / 1.128 GB, free: 5.371 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.2487, allocations: 103.1 kB / 1.128 GB, free: 5.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003045/0.249, allocations: 158.2 kB / 1.128 GB, free: 5.109 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.2492, allocations: 350.8 kB / 1.128 GB, free: 4.758 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008923/0.2501, allocations: 332.5 kB / 1.129 GB, free: 4.418 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.2513, allocations: 0.6668 MB / 1.129 GB, free: 3.664 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008422/0.2597, allocations: 1.859 MB / 1.131 GB, free: 1.742 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.2597, allocations: 4 kB / 1.131 GB, free: 1.738 MB / 1.076 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008275/0.268, allocations: 1.646 MB / 1.133 GB, free: 48 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.6948/0.9628, allocations: 68.45 kB / 1.133 GB, free: 194.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/0.9628, allocations: 0 / 1.133 GB, free: 194.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/0.9648, allocations: 383.9 kB / 1.133 GB, free: 194.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/0.9655, allocations: 92.94 kB / 1.133 GB, free: 194.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005022/0.9705, allocations: 4.424 MB / 1.138 GB, free: 191.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009961/0.9715, allocations: 99.75 kB / 1.138 GB, free: 191.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.81e-05/0.9716, allocations: 39.92 kB / 1.138 GB, free: 191.3 MB / 1.076 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.0002869/0.9719, allocations: 172.9 kB / 1.138 GB, free: 191.1 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.972, allocations: 42.05 kB / 1.138 GB, free: 191.1 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.242e-05/0.972, allocations: 47.39 kB / 1.138 GB, free: 191.1 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.972, allocations: 2.531 kB / 1.138 GB, free: 191.1 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.972, allocations: 5.734 kB / 1.138 GB, free: 191.1 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.972, allocations: 1.125 kB / 1.138 GB, free: 191.1 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.9724, allocations: 341.6 kB / 1.138 GB, free: 190.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.9725, allocations: 2.906 kB / 1.138 GB, free: 190.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.9726, allocations: 25.64 kB / 1.138 GB, free: 190.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000563/0.9732, allocations: 230.7 kB / 1.138 GB, free: 190.8 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.9732, allocations: 16.95 kB / 1.139 GB, free: 190.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.9748, allocations: 1.488 MB / 1.14 GB, free: 189.6 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.9748, allocations: 3.125 kB / 1.14 GB, free: 189.6 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006251/0.981, allocations: 1.3 MB / 1.141 GB, free: 189.3 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.9812, allocations: 85.7 kB / 1.141 GB, free: 189.2 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-05/0.9813, allocations: 10.56 kB / 1.141 GB, free: 189.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004684/0.9817, allocations: 40.53 kB / 1.141 GB, free: 189.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.9819, allocations: 41.88 kB / 1.141 GB, free: 189.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/0.9819, allocations: 24.23 kB / 1.141 GB, free: 189.2 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002975/0.9822, allocations: 281.3 kB / 1.142 GB, free: 189.1 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9822, allocations: 3.828 kB / 1.142 GB, free: 189.1 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006346/0.9828, allocations: 170.6 kB / 1.142 GB, free: 189 MB / 1.076 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.0003399/0.9832, allocations: 174.2 kB / 1.142 GB, free: 188.9 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003006/0.9862, allocations: 1.059 MB / 1.143 GB, free: 188.3 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.9862, allocations: 2.781 kB / 1.143 GB, free: 188.3 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/0.9877, allocations: 317.2 kB / 1.143 GB, free: 188.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005801/0.9882, allocations: 108.2 kB / 1.143 GB, free: 188.2 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.9898, allocations: 0.8424 MB / 1.144 GB, free: 187.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.9899, allocations: 200 kB / 1.144 GB, free: 187.7 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002181/0.9901, allocations: 52.08 kB / 1.145 GB, free: 187.7 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.9902, allocations: 34.92 kB / 1.145 GB, free: 187.7 MB / 1.076 GB Notification: Performance of SimCode: time 1.122e-06/0.9902, allocations: 0 / 1.145 GB, free: 187.7 MB / 1.076 GB Notification: Performance of Templates: time 0.0204/1.011, allocations: 13.25 MB / 1.158 GB, free: 186.3 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.649443224072456]