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.0009453/0.0009453, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0008805/0.0008805, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.92/0.92, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.851/1.851, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.907e-05, allocations: 4.953 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004403/0.004432, allocations: 2.796 MB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6455/0.6499, allocations: 135 MB / 1.135 GB, free: 14.39 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.6501, allocations: 7.219 kB / 1.135 GB, free: 14.39 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.6505, allocations: 81.12 kB / 1.136 GB, free: 14.34 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0006284/0.6511, allocations: 302.2 kB / 1.136 GB, free: 14.15 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.6528, allocations: 1.032 MB / 1.137 GB, free: 13.64 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0006797/0.6535, allocations: 0.8029 MB / 1.138 GB, free: 13.25 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.6536, allocations: 59.81 kB / 1.138 GB, free: 13.22 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000442/0.6541, allocations: 455.6 kB / 1.138 GB, free: 13.04 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.6545, allocations: 269.7 kB / 1.138 GB, free: 12.96 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 8.785e-05/0.6546, allocations: 63.5 kB / 1.138 GB, free: 12.95 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.6556, allocations: 0.7437 MB / 1.139 GB, free: 12.71 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.6557, allocations: 145.7 kB / 1.139 GB, free: 12.63 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.6559, allocations: 219.8 kB / 1.14 GB, free: 12.53 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.6571, allocations: 1.084 MB / 1.141 GB, free: 12.13 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6571, allocations: 1.375 kB / 1.141 GB, free: 12.13 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6571, allocations: 0 / 1.141 GB, free: 12.13 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.6571, allocations: 0 / 1.141 GB, free: 12.13 MB / 1.01 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.00173/0.6588, allocations: 1.048 MB / 1.142 GB, free: 11.47 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.6589, allocations: 9.125 kB / 1.142 GB, free: 11.47 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.6604, allocations: 320.6 kB / 1.142 GB, free: 11.43 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005428/0.661, allocations: 355.8 kB / 1.142 GB, free: 11.18 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.233e-05/0.661, allocations: 91.22 kB / 1.142 GB, free: 11.11 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-05/0.6611, allocations: 44.44 kB / 1.142 GB, free: 11.09 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005507/0.6617, allocations: 371.7 kB / 1.143 GB, free: 10.93 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6617, allocations: 7.938 kB / 1.143 GB, free: 10.92 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.6617, allocations: 11.16 kB / 1.143 GB, free: 10.91 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.6617, allocations: 7.359 kB / 1.143 GB, free: 10.91 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004567/0.6622, allocations: 248.8 kB / 1.143 GB, free: 10.84 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.6646, allocations: 1.463 MB / 1.144 GB, free: 9.98 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004721/0.6651, allocations: 234.8 kB / 1.145 GB, free: 9.895 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.6653, allocations: 146.4 kB / 1.145 GB, free: 9.844 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.6654, allocations: 3.281 kB / 1.145 GB, free: 9.844 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004914/0.6659, allocations: 305.4 kB / 1.145 GB, free: 9.719 MB / 1.01 GB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.6659, allocations: 0 / 1.145 GB, free: 9.719 MB / 1.01 GB Notification: Performance of matching and sorting (n=30): time 0.004507/0.6704, allocations: 1.368 MB / 1.146 GB, free: 9.414 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.6704, allocations: 90.88 kB / 1.147 GB, free: 9.312 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004191/0.6708, allocations: 437.1 kB / 1.147 GB, free: 9.094 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/0.6709, allocations: 40.39 kB / 1.147 GB, free: 9.055 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.671, allocations: 203.9 kB / 1.147 GB, free: 8.883 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.418e-05/0.6711, allocations: 101.3 kB / 1.147 GB, free: 8.805 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.6713, allocations: 158.3 kB / 1.147 GB, free: 8.738 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.6714, allocations: 350.4 kB / 1.148 GB, free: 8.41 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005398/0.672, allocations: 330.3 kB / 1.148 GB, free: 8.254 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007094/0.6727, allocations: 0.6727 MB / 1.149 GB, free: 7.738 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004272/0.677, allocations: 1.86 MB / 1.151 GB, free: 7.078 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.677, allocations: 1.094 kB / 1.151 GB, free: 7.078 MB / 1.01 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003997/0.681, allocations: 1.65 MB / 1.152 GB, free: 6.512 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/0.681, allocations: 61.33 kB / 1.152 GB, free: 6.449 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.681, allocations: 6.016 kB / 1.152 GB, free: 6.449 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009378/0.6819, allocations: 388.1 kB / 1.153 GB, free: 6.34 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.6822, allocations: 94.98 kB / 1.153 GB, free: 6.328 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003636/0.6859, allocations: 4.421 MB / 1.157 GB, free: 2.336 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/0.6863, allocations: 100.5 kB / 1.157 GB, free: 2.289 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-05/0.6864, allocations: 40.34 kB / 1.157 GB, free: 2.281 MB / 1.01 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.0002245/0.6866, allocations: 177.3 kB / 1.157 GB, free: 2.129 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.339e-05/0.6867, allocations: 46.27 kB / 1.157 GB, free: 2.102 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.6867, allocations: 43.66 kB / 1.157 GB, free: 2.074 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.6867, allocations: 6 kB / 1.157 GB, free: 2.074 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6867, allocations: 1.625 kB / 1.157 GB, free: 2.074 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.6867, allocations: 2.016 kB / 1.157 GB, free: 2.074 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.6871, allocations: 342.1 kB / 1.158 GB, free: 1.855 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.6871, allocations: 0.75 kB / 1.158 GB, free: 1.855 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.954e-05/0.6872, allocations: 28.3 kB / 1.158 GB, free: 1.852 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004105/0.6876, allocations: 236.1 kB / 1.158 GB, free: 1.766 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.6877, allocations: 12.55 kB / 1.158 GB, free: 1.762 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.6887, allocations: 1.488 MB / 1.159 GB, free: 480 kB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6887, allocations: 2.141 kB / 1.159 GB, free: 480 kB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003348/0.6921, allocations: 1.301 MB / 1.161 GB, free: 88 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.6922, allocations: 84.64 kB / 1.161 GB, free: 40 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.6923, allocations: 7.391 kB / 1.161 GB, free: 36 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.6925, allocations: 49.75 kB / 1.161 GB, free: 20 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.951e-05/0.6926, allocations: 38.5 kB / 1.161 GB, free: 12 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.6926, allocations: 17.83 kB / 1.161 GB, free: 8 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002686/0.6929, allocations: 284.9 kB / 1.161 GB, free: 15.87 MB / 1.026 GB Notification: Performance of sort global known variables: time 1e-07/0.6929, allocations: 0 / 1.161 GB, free: 15.87 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0004845/0.6934, allocations: 164.5 kB / 1.161 GB, free: 15.84 MB / 1.026 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.0003132/0.6937, allocations: 186.1 kB / 1.162 GB, free: 15.72 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001782/0.6955, allocations: 1.068 MB / 1.163 GB, free: 15.09 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6955, allocations: 0.9062 kB / 1.163 GB, free: 15.09 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0007571/0.6962, allocations: 314.8 kB / 1.163 GB, free: 14.99 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.6966, allocations: 111.1 kB / 1.163 GB, free: 14.95 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.6978, allocations: 0.8503 MB / 1.164 GB, free: 14.42 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.6979, allocations: 205.8 kB / 1.164 GB, free: 14.33 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.698, allocations: 41.19 kB / 1.164 GB, free: 14.32 MB / 1.026 GB Notification: Performance of SimCode: time 5.11e-07/0.698, allocations: 0 / 1.164 GB, free: 14.32 MB / 1.026 GB Notification: Performance of Templates: time 0.01145/0.7095, allocations: 12.38 MB / 1.176 GB, free: 11.82 MB / 1.026 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/jenkins/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.077898581512272]