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.0009261/0.0009261, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008812/0.0008812, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9022/0.9022, allocations: 177.1 MB / 203.5 MB, free: 5.676 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.676/1.676, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.9517 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.677e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002731/0.002758, allocations: 2.156 MB / 0.9538 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001735/0.004493, allocations: 1.423 MB / 0.9552 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.004614, allocations: 7.938 kB / 0.9552 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005225/0.005136, allocations: 187 kB / 0.9554 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003371/0.005473, allocations: 171.1 kB / 0.9556 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.005692, allocations: 115.5 kB / 0.9557 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.005946, allocations: 250.9 kB / 0.9559 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.006076, allocations: 28.56 kB / 0.956 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.006218, allocations: 135.6 kB / 0.9561 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.00634, allocations: 87.72 kB / 0.9562 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.006363, allocations: 12 kB / 0.9562 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.006471, allocations: 55.91 kB / 0.9562 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.377e-05/0.006555, allocations: 95.62 kB / 0.9563 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.066e-05/0.006625, allocations: 71.66 kB / 0.9564 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.006954, allocations: 350.7 kB / 0.9567 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.006958, allocations: 4 kB / 0.9567 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.653e-06/0.00696, allocations: 0 / 0.9567 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.006965, allocations: 0 / 0.9567 GB, free: 13.83 MB / 0.9167 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.0007422/0.007707, allocations: 0.628 MB / 0.9573 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.007742, allocations: 8.031 kB / 0.9574 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/0.007811, allocations: 48.61 kB / 0.9574 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005673/0.008378, allocations: 298.2 kB / 0.9577 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.008393, allocations: 4.375 kB / 0.9577 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.008408, allocations: 8.375 kB / 0.9577 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.008576, allocations: 103.6 kB / 0.9578 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.008584, allocations: 7.938 kB / 0.9578 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.008596, allocations: 4 kB / 0.9578 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.0086, allocations: 0 / 0.9578 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.942e-05/0.00867, allocations: 43.97 kB / 0.9579 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.009135, allocations: 380.3 kB / 0.9582 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.009274, allocations: 70.61 kB / 0.9583 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.009313, allocations: 24.86 kB / 0.9583 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.009329, allocations: 0 / 0.9583 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.009523, allocations: 105.1 kB / 0.9584 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.009524, allocations: 0 / 0.9584 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0002436/0.009768, allocations: 153.3 kB / 0.9586 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.0098, allocations: 55.41 kB / 0.9586 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.01018, allocations: 0.5418 MB / 0.9591 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.0102, allocations: 29.7 kB / 0.9592 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.01031, allocations: 224 kB / 0.9594 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.01033, allocations: 15.89 kB / 0.9594 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.01038, allocations: 41.7 kB / 0.9594 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.01048, allocations: 362.7 kB / 0.9598 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.867e-05/0.01055, allocations: 47.98 kB / 0.9598 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.198e-05/0.01063, allocations: 110.6 kB / 0.9599 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.01074, allocations: 96.91 kB / 0.96 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01074, allocations: 0 / 0.96 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000198/0.01094, allocations: 205.5 kB / 0.9602 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.01095, allocations: 8 kB / 0.9602 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.01096, allocations: 0 / 0.9602 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.01097, allocations: 7.984 kB / 0.9602 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.921e-05/0.01105, allocations: 23.98 kB / 0.9603 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.01105, allocations: 0 / 0.9603 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.691e-05/0.01112, allocations: 20.12 kB / 0.9603 GB, free: 10 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.01114, allocations: 7.938 kB / 0.9603 GB, free: 9.992 MB / 0.9167 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.0001236/0.01126, allocations: 189.6 kB / 0.9605 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.01129, allocations: 43.72 kB / 0.9605 GB, free: 9.754 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.01147, allocations: 141.6 kB / 0.9606 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01148, allocations: 0 / 0.9606 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01148, allocations: 0 / 0.9606 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01148, allocations: 0 / 0.9606 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.01164, allocations: 241.1 kB / 0.9609 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01164, allocations: 0 / 0.9609 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.943e-05/0.01166, allocations: 8 kB / 0.9609 GB, free: 9.336 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01167, allocations: 7.984 kB / 0.9609 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.01167, allocations: 0 / 0.9609 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.01167, allocations: 0 / 0.9609 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01168, allocations: 3.938 kB / 0.9609 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.01181, allocations: 164.8 kB / 0.961 GB, free: 9.145 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.01185, allocations: 39.7 kB / 0.9611 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.01187, allocations: 4 kB / 0.9611 GB, free: 9.102 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.117e-05/0.01191, allocations: 4 kB / 0.9611 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/0.01197, allocations: 11.97 kB / 0.9611 GB, free: 9.086 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.01198, allocations: 12 kB / 0.9611 GB, free: 9.074 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002415/0.01222, allocations: 366.8 kB / 0.9615 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/0.01222, allocations: 0 / 0.9615 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001837/0.0124, allocations: 51.88 kB / 0.9615 GB, free: 8.668 MB / 0.9167 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.0007117/0.01311, allocations: 457.2 kB / 0.9619 GB, free: 8.395 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.01329, allocations: 91.89 kB / 0.962 GB, free: 8.305 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.01329, allocations: 4 kB / 0.962 GB, free: 8.301 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.822e-05/0.01334, allocations: 35.98 kB / 0.9621 GB, free: 8.266 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.01357, allocations: 62.25 kB / 0.9621 GB, free: 8.211 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007066/0.01428, allocations: 0.6746 MB / 0.9628 GB, free: 7.504 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.01442, allocations: 208.4 kB / 0.963 GB, free: 7.281 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.01446, allocations: 28.48 kB / 0.963 GB, free: 7.25 MB / 0.9167 GB Notification: Performance of SimCode: time 6.21e-07/0.01446, allocations: 0 / 0.963 GB, free: 7.25 MB / 0.9167 GB Notification: Performance of Templates: time 0.004806/0.01927, allocations: 4.42 MB / 0.9673 GB, free: 2.855 MB / 0.9167 GB " [Timeout remaining time 300] 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/jenkins/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: 7.014098400250077]