Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.00165/0.00165, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002112/0.002112, allocations: 218.6 kB / 23.01 MB, free: 5.125 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.83/2.83, allocations: 476.8 MB / 0.7714 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] 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.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [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.002077/0.002077, allocations: 68.97 kB / 1.119 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3354, allocations: 170 MB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004108/0.3395, allocations: 2.246 MB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00264/0.3422, allocations: 1.552 MB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.3423, allocations: 0 / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005837/0.3429, allocations: 191.1 kB / 1.289 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004349/0.3433, allocations: 175.2 kB / 1.289 GB, free: 7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.3436, allocations: 115.6 kB / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.344, allocations: 239.1 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.3441, allocations: 40.48 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.3443, allocations: 99.52 kB / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.3445, allocations: 103.5 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.3445, allocations: 12 kB / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.3447, allocations: 59.97 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.3448, allocations: 99.55 kB / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.3449, allocations: 138.9 kB / 1.29 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.3454, allocations: 370.2 kB / 1.29 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3454, allocations: 0 / 1.29 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3455, allocations: 0 / 1.29 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.3455, allocations: 3.938 kB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001069/0.3465, allocations: 0.6262 MB / 1.291 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3466, allocations: 12.03 kB / 1.291 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.822e-05/0.3467, allocations: 44.66 kB / 1.291 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.3471, allocations: 298.9 kB / 1.291 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.3471, allocations: 4.375 kB / 1.291 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.3472, allocations: 11.94 kB / 1.291 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.3474, allocations: 73.59 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3474, allocations: 4 kB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3474, allocations: 4 kB / 1.291 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3474, allocations: 0 / 1.291 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.3475, allocations: 39.97 kB / 1.291 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007312/0.3482, allocations: 427.6 kB / 1.291 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.3484, allocations: 62.61 kB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.922e-05/0.3485, allocations: 32.83 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.3485, allocations: 0 / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.3487, allocations: 79.38 kB / 1.292 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.3487, allocations: 4 kB / 1.292 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003599/0.3491, allocations: 149.3 kB / 1.292 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.3491, allocations: 55.34 kB / 1.292 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006596/0.3498, allocations: 0.5457 MB / 1.292 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.3498, allocations: 25.7 kB / 1.292 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.35, allocations: 224 kB / 1.293 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.3501, allocations: 19.89 kB / 1.293 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.68e-05/0.3501, allocations: 45.66 kB / 1.293 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.3503, allocations: 358.8 kB / 1.293 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.3504, allocations: 47.98 kB / 1.293 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.3506, allocations: 80.64 kB / 1.293 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.3507, allocations: 92.91 kB / 1.293 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3507, allocations: 0 / 1.293 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000343/0.3511, allocations: 201.2 kB / 1.293 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3511, allocations: 4 kB / 1.293 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3511, allocations: 4 kB / 1.293 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3511, allocations: 0 / 1.293 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3512, allocations: 23.92 kB / 1.293 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.3513, allocations: 4 kB / 1.293 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.3514, allocations: 23.91 kB / 1.293 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.3514, allocations: 7.938 kB / 1.293 GB, free: 1.957 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000198/0.3516, allocations: 192.2 kB / 1.294 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.3516, allocations: 43.72 kB / 1.294 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.3519, allocations: 129.6 kB / 1.294 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3519, allocations: 3.938 kB / 1.294 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3519, allocations: 0 / 1.294 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3519, allocations: 0 / 1.294 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.3522, allocations: 272.6 kB / 1.294 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3522, allocations: 0 / 1.294 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/0.3523, allocations: 4 kB / 1.294 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3523, allocations: 0 / 1.294 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3523, allocations: 4.109 kB / 1.294 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.3523, allocations: 11.81 kB / 1.294 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3523, allocations: 0 / 1.294 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.3525, allocations: 157.1 kB / 1.294 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.3526, allocations: 43.72 kB / 1.294 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.3526, allocations: 4 kB / 1.294 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.409e-05/0.3527, allocations: 11.92 kB / 1.294 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.3528, allocations: 11.98 kB / 1.294 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.3528, allocations: 0 / 1.294 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004278/0.3532, allocations: 370.8 kB / 1.295 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3532, allocations: 0 / 1.295 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002713/0.3535, allocations: 43.94 kB / 1.295 GB, free: 0.6055 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001594/0.3551, allocations: 415.7 kB / 1.295 GB, free: 356 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.3553, allocations: 95.83 kB / 1.295 GB, free: 260 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3553, allocations: 0 / 1.295 GB, free: 260 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.061e-05/0.3554, allocations: 27.94 kB / 1.295 GB, free: 232 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.3558, allocations: 65.75 kB / 1.295 GB, free: 172 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.357, allocations: 0.6989 MB / 1.296 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.3575, allocations: 0.8294 MB / 1.297 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.036e-05/0.3576, allocations: 23.44 kB / 1.297 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/0.3576, allocations: 0 / 1.297 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of Templates: time 0.007581/0.3652, allocations: 4.213 MB / 1.301 GB, free: 10.37 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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: 12.180717616982292]