Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007325/0.0007325, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.001755, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006871/0.0006871, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009542/0.001641, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9134/0.9134, allocations: 177.2 MB / 189.8 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08099/0.9944, allocations: 53.65 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.887/1.887, allocations: 378.4 MB / 0.6079 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4677/2.355, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.[0-9,]+.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.[0-9,]+.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.185e-05, allocations: 5.328 kB / 0.7297 GB, free: 4.387 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002756/0.002778, allocations: 2.289 MB / 0.7319 GB, free: 2.121 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.004325, allocations: 1.523 MB / 0.7334 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.947e-05/0.004404, allocations: 3.938 kB / 0.7334 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.00476, allocations: 182.5 kB / 0.7336 GB, free: 448 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.004991, allocations: 180.2 kB / 0.7337 GB, free: 272 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001565/0.005148, allocations: 120 kB / 0.7339 GB, free: 152 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000235/0.005383, allocations: 243 kB / 0.7341 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.005496, allocations: 34.97 kB / 0.7341 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005122/0.006008, allocations: 223.4 kB / 0.7343 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.006119, allocations: 79.73 kB / 0.7344 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.006141, allocations: 8 kB / 0.7344 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.006249, allocations: 61.44 kB / 0.7345 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/0.00632, allocations: 91.64 kB / 0.7346 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.2e-05/0.006372, allocations: 51.75 kB / 0.7346 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.006628, allocations: 238.9 kB / 0.7348 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.006639, allocations: 0.6562 kB / 0.7348 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.11e-07/0.006639, allocations: 0 / 0.7348 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.00665, allocations: 1.312 kB / 0.7348 GB, free: 15.16 MB / 0.7136 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.0006199/0.00727, allocations: 0.6459 MB / 0.7355 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.0073, allocations: 8.031 kB / 0.7355 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.007345, allocations: 30.5 kB / 0.7355 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.007582, allocations: 278 kB / 0.7358 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.007598, allocations: 8.375 kB / 0.7358 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.00761, allocations: 4.375 kB / 0.7358 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.007723, allocations: 108.8 kB / 0.7359 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.007729, allocations: 3.938 kB / 0.7359 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.007737, allocations: 4 kB / 0.7359 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.007743, allocations: 4.656 kB / 0.7359 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.482e-05/0.007767, allocations: 11.94 kB / 0.7359 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.008041, allocations: 234.9 kB / 0.7361 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.893e-05/0.00813, allocations: 90.19 kB / 0.7362 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.008148, allocations: 10.11 kB / 0.7362 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.008157, allocations: 4 kB / 0.7362 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.199e-05/0.008249, allocations: 95.84 kB / 0.7363 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.00825, allocations: 1.25 kB / 0.7363 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001157/0.008366, allocations: 77.66 kB / 0.7364 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.008391, allocations: 51.41 kB / 0.7365 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.008636, allocations: 446.8 kB / 0.7369 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.008655, allocations: 33.69 kB / 0.7369 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.008724, allocations: 149.3 kB / 0.7371 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.008742, allocations: 16.41 kB / 0.7371 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.008785, allocations: 42.72 kB / 0.7371 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.008871, allocations: 358.7 kB / 0.7375 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.008894, allocations: 14.81 kB / 0.7375 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.941e-05/0.008933, allocations: 69.11 kB / 0.7375 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.045e-05/0.008993, allocations: 68.42 kB / 0.7376 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.008995, allocations: 0 / 0.7376 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 9.906e-05/0.009094, allocations: 106.7 kB / 0.7377 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.009106, allocations: 8 kB / 0.7377 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.00911, allocations: 0.75 kB / 0.7377 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.009118, allocations: 0 / 0.7377 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.787e-05/0.009196, allocations: 28.73 kB / 0.7377 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.009199, allocations: 4.109 kB / 0.7377 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.009247, allocations: 13.86 kB / 0.7378 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.00926, allocations: 11.92 kB / 0.7378 GB, free: 11.98 MB / 0.7136 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 7.494e-05/0.009335, allocations: 121.7 kB / 0.7379 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.009355, allocations: 23.97 kB / 0.7379 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.805e-05/0.009453, allocations: 98.92 kB / 0.738 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.009456, allocations: 7.984 kB / 0.738 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.009458, allocations: 0 / 0.738 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.00946, allocations: 3.938 kB / 0.738 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.009571, allocations: 146.3 kB / 0.7381 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.009572, allocations: 1.688 kB / 0.7381 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.001e-05/0.009592, allocations: 11.94 kB / 0.7382 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.03e-05/0.009622, allocations: 43.7 kB / 0.7382 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.009623, allocations: 0 / 0.7382 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.00963, allocations: 7.25 kB / 0.7382 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.009631, allocations: 0 / 0.7382 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.009632, allocations: 0 / 0.7382 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.683e-05/0.009709, allocations: 102.7 kB / 0.7383 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.009732, allocations: 11.98 kB / 0.7383 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.32e-05/0.009765, allocations: 4 kB / 0.7383 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.009796, allocations: 7.984 kB / 0.7383 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.009803, allocations: 3.984 kB / 0.7383 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001157/0.009918, allocations: 187.4 kB / 0.7385 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.009918, allocations: 0 / 0.7385 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001302/0.01005, allocations: 47.89 kB / 0.7386 GB, free: 11.12 MB / 0.7136 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 (7): * Single equations (assignments): 5 * 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.001125/0.01117, allocations: 0.5612 MB / 0.7391 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.258e-05/0.01127, allocations: 52.77 kB / 0.7392 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/0.01128, allocations: 8 kB / 0.7392 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.551e-05/0.01131, allocations: 20.84 kB / 0.7392 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.01157, allocations: 374.5 kB / 0.7395 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.01297, allocations: 0.5987 MB / 0.7401 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.903e-05/0.01303, allocations: 111.9 kB / 0.7402 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.425e-05/0.01308, allocations: 24.38 kB / 0.7403 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.097e-05/0.01317, allocations: 91.34 kB / 0.7403 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.01317, allocations: 0 / 0.7403 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of Templates: time 0.005268/0.01843, allocations: 3.344 MB / 0.7436 GB, free: 6.312 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.856383281759918]