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.001751/0.001751, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.002111/0.002111, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.72/1.72, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.019/3.019, allocations: 0.49 GB / 0.7923 GB, free: 1.266 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002047/0.002047, allocations: 71.88 kB / 1.15 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272/1.274, allocations: 176.1 MB / 1.322 GB, free: 7.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005028/1.279, allocations: 3.031 MB / 1.325 GB, free: 5.43 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2154/1.494, allocations: 156.8 MB / 1.478 GB, free: 5.816 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006525/1.495, allocations: 4 kB / 1.478 GB, free: 5.812 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005497/1.495, allocations: 91.12 kB / 1.478 GB, free: 5.723 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/1.497, allocations: 293 kB / 1.478 GB, free: 5.438 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003067/1.5, allocations: 1.031 MB / 1.479 GB, free: 4.414 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001262/1.501, allocations: 0.7875 MB / 1.48 GB, free: 3.625 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/1.501, allocations: 62.05 kB / 1.48 GB, free: 3.562 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000423/1.502, allocations: 331 kB / 1.481 GB, free: 3.238 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005088/1.502, allocations: 342.8 kB / 1.481 GB, free: 2.902 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/1.502, allocations: 60 kB / 1.481 GB, free: 2.844 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/1.504, allocations: 0.8421 MB / 1.482 GB, free: 2 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001647/1.504, allocations: 155.6 kB / 1.482 GB, free: 1.848 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002986/1.505, allocations: 286.7 kB / 1.482 GB, free: 1.566 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001452/1.506, allocations: 0.9835 MB / 1.483 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.506, allocations: 0 / 1.483 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.753e-06/1.506, allocations: 0 / 1.483 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.376e-06/1.506, allocations: 0 / 1.483 GB, free: 0.5859 MB / 1.154 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.002775/1.509, allocations: 1.085 MB / 1.484 GB, free: 15.44 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.509, allocations: 8.031 kB / 1.484 GB, free: 15.43 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003192/1.512, allocations: 328 kB / 1.485 GB, free: 15.11 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007996/1.513, allocations: 409.1 kB / 1.485 GB, free: 14.68 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/1.513, allocations: 95.83 kB / 1.485 GB, free: 14.57 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/1.513, allocations: 40 kB / 1.485 GB, free: 14.53 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008727/1.514, allocations: 372.2 kB / 1.485 GB, free: 14.15 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.514, allocations: 0 / 1.485 GB, free: 14.15 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.414e-05/1.514, allocations: 12 kB / 1.485 GB, free: 14.14 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/1.514, allocations: 4 kB / 1.485 GB, free: 14.13 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007818/1.515, allocations: 261.4 kB / 1.486 GB, free: 13.88 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004706/1.52, allocations: 1.669 MB / 1.487 GB, free: 12.14 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008351/1.52, allocations: 242.5 kB / 1.488 GB, free: 11.89 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000478/1.521, allocations: 148.8 kB / 1.488 GB, free: 11.75 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/1.521, allocations: 7.938 kB / 1.488 GB, free: 11.74 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007482/1.522, allocations: 298.1 kB / 1.488 GB, free: 11.43 MB / 1.17 GB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/1.522, allocations: 0 / 1.488 GB, free: 11.43 MB / 1.17 GB Notification: Performance of matching and sorting (n=30): time 0.008921/1.531, allocations: 1.521 MB / 1.489 GB, free: 9.859 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/1.531, allocations: 89.11 kB / 1.49 GB, free: 9.754 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007144/1.531, allocations: 449.8 kB / 1.49 GB, free: 9.301 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000183/1.532, allocations: 41.69 kB / 1.49 GB, free: 9.254 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/1.532, allocations: 205.1 kB / 1.49 GB, free: 9.051 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/1.532, allocations: 103.1 kB / 1.49 GB, free: 8.949 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/1.532, allocations: 162.2 kB / 1.49 GB, free: 8.781 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001848/1.532, allocations: 350.8 kB / 1.491 GB, free: 8.43 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008167/1.533, allocations: 273.1 kB / 1.491 GB, free: 8.164 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009962/1.534, allocations: 425.7 kB / 1.491 GB, free: 7.719 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008121/1.542, allocations: 1.858 MB / 1.493 GB, free: 5.801 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.542, allocations: 0 / 1.493 GB, free: 5.801 MB / 1.17 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008023/1.55, allocations: 1.588 MB / 1.495 GB, free: 4.18 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 8.094e-05/1.55, allocations: 63.39 kB / 1.495 GB, free: 4.105 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/1.55, allocations: 0 / 1.495 GB, free: 4.105 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001846/1.552, allocations: 391.1 kB / 1.495 GB, free: 3.711 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/1.553, allocations: 99.8 kB / 1.495 GB, free: 3.613 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006362/1.559, allocations: 4.698 MB / 1.5 GB, free: 14.58 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/1.56, allocations: 99.41 kB / 1.5 GB, free: 14.48 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.723e-05/1.56, allocations: 39.95 kB / 1.5 GB, free: 14.45 MB / 1.186 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.0003443/1.561, allocations: 182.1 kB / 1.5 GB, free: 14.26 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.386e-05/1.561, allocations: 39.72 kB / 1.5 GB, free: 14.22 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.643e-05/1.561, allocations: 43.58 kB / 1.5 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/1.561, allocations: 0 / 1.5 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.561, allocations: 7.938 kB / 1.5 GB, free: 14.17 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/1.561, allocations: 3.984 kB / 1.5 GB, free: 14.17 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006171/1.562, allocations: 477.2 kB / 1.501 GB, free: 13.65 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.562, allocations: 4 kB / 1.501 GB, free: 13.65 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/1.562, allocations: 23.98 kB / 1.501 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006596/1.562, allocations: 229.5 kB / 1.501 GB, free: 13.39 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/1.562, allocations: 15.97 kB / 1.501 GB, free: 13.38 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/1.564, allocations: 1.493 MB / 1.502 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.564, allocations: 0 / 1.502 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006795/1.571, allocations: 1.311 MB / 1.504 GB, free: 10.5 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/1.572, allocations: 168.7 kB / 1.504 GB, free: 10.32 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/1.572, allocations: 8 kB / 1.504 GB, free: 10.31 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/1.572, allocations: 36.05 kB / 1.504 GB, free: 10.27 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/1.572, allocations: 47.92 kB / 1.504 GB, free: 10.23 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/1.572, allocations: 11.98 kB / 1.504 GB, free: 10.21 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004211/1.573, allocations: 303.1 kB / 1.504 GB, free: 9.922 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/1.573, allocations: 0 / 1.504 GB, free: 9.922 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007486/1.573, allocations: 167.8 kB / 1.504 GB, free: 9.758 MB / 1.186 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.0003938/1.574, allocations: 184.6 kB / 1.505 GB, free: 9.57 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003382/1.577, allocations: 0.9974 MB / 1.506 GB, free: 8.516 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.577, allocations: 0 / 1.506 GB, free: 8.516 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/1.579, allocations: 315.5 kB / 1.506 GB, free: 8.203 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006664/1.579, allocations: 112.6 kB / 1.506 GB, free: 8.094 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/1.581, allocations: 0.9296 MB / 1.507 GB, free: 7.133 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/1.582, allocations: 0.8113 MB / 1.508 GB, free: 6.293 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/1.582, allocations: 35.42 kB / 1.508 GB, free: 6.258 MB / 1.186 GB Notification: Performance of SimCode: time 8.82e-07/1.582, allocations: 0 / 1.508 GB, free: 6.258 MB / 1.186 GB Notification: Performance of Templates: time 0.01743/1.599, allocations: 12.32 MB / 1.52 GB, free: 9.973 MB / 1.201 GB " [Timeout remaining time 298] 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/jenkins1/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: 15.020861918994342]