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.001754/0.001754, allocations: 111 kB / 16.46 MB, free: 6.453 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.002021/0.002021, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.501/1.501, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.16/3.16, allocations: 0.49 GB / 0.7916 GB, free: 33.23 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.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|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.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_12_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.002126/0.002126, allocations: 66.94 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3529, allocations: 176.1 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003795/0.3567, allocations: 2.22 MB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002461/0.3591, allocations: 1.544 MB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.3593, allocations: 0 / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005719/0.3598, allocations: 183.1 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004237/0.3603, allocations: 179.1 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.3605, allocations: 107.6 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000339/0.3609, allocations: 247 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.361, allocations: 28.39 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.3612, allocations: 103.5 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.3614, allocations: 103.5 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.3614, allocations: 12 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.3615, allocations: 55.97 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.3617, allocations: 103.5 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.3618, allocations: 134.9 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004871/0.3623, allocations: 366.2 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3623, allocations: 0 / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3623, allocations: 3.938 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.3623, allocations: 0 / 1.326 GB, free: 13.4 MB / 1.029 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.001157/0.3635, allocations: 0.7034 MB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3635, allocations: 11.98 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.414e-05/0.3636, allocations: 44.66 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.3641, allocations: 364.7 kB / 1.328 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.3641, allocations: 4.375 kB / 1.328 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.3641, allocations: 11.94 kB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.3643, allocations: 77.59 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3643, allocations: 0 / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.3643, allocations: 4 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3644, allocations: 0 / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.3645, allocations: 43.91 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007344/0.3652, allocations: 460.6 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.3654, allocations: 66.61 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.844e-05/0.3655, allocations: 20.86 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.3655, allocations: 3.984 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.3657, allocations: 87.33 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3657, allocations: 0 / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003743/0.366, allocations: 145.4 kB / 1.328 GB, free: 11.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.3661, allocations: 59.28 kB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000637/0.3667, allocations: 0.5418 MB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3668, allocations: 25.7 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.3669, allocations: 224 kB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.367, allocations: 19.91 kB / 1.329 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-05/0.367, allocations: 45.69 kB / 1.329 GB, free: 10.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3672, allocations: 354.8 kB / 1.33 GB, free: 9.902 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.3673, allocations: 55.88 kB / 1.33 GB, free: 9.848 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.3675, allocations: 73.52 kB / 1.33 GB, free: 9.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.3677, allocations: 93.67 kB / 1.33 GB, free: 9.672 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3677, allocations: 0 / 1.33 GB, free: 9.672 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003587/0.368, allocations: 200.3 kB / 1.33 GB, free: 9.473 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.368, allocations: 8 kB / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3681, allocations: 0 / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3681, allocations: 256 / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.3682, allocations: 31.86 kB / 1.33 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3682, allocations: 4 kB / 1.33 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.3683, allocations: 23.88 kB / 1.33 GB, free: 9.406 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.3683, allocations: 8.031 kB / 1.33 GB, free: 9.398 MB / 1.029 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.0002017/0.3686, allocations: 182 kB / 1.33 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.3686, allocations: 43.72 kB / 1.33 GB, free: 9.172 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.254e-05/0.3687, allocations: 47.84 kB / 1.33 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3687, allocations: 7.875 kB / 1.33 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3687, allocations: 0 / 1.33 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3687, allocations: 0 / 1.33 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.369, allocations: 301.5 kB / 1.331 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.369, allocations: 0 / 1.331 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-05/0.369, allocations: 8 kB / 1.331 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.369, allocations: 0 / 1.331 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.369, allocations: 11.98 kB / 1.331 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.369, allocations: 3.938 kB / 1.331 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.369, allocations: 0 / 1.331 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.3693, allocations: 148.8 kB / 1.331 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.3694, allocations: 116.8 kB / 1.331 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.3694, allocations: 0 / 1.331 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.3695, allocations: 15.92 kB / 1.331 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.3696, allocations: 19.92 kB / 1.331 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.3696, allocations: 3.938 kB / 1.331 GB, free: 8.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004261/0.37, allocations: 370.8 kB / 1.331 GB, free: 8.051 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.37, allocations: 0 / 1.331 GB, free: 8.051 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002763/0.3703, allocations: 43.94 kB / 1.331 GB, free: 8.008 MB / 1.029 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 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * 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.001701/0.372, allocations: 415.5 kB / 1.332 GB, free: 7.746 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003087/0.3723, allocations: 91.89 kB / 1.332 GB, free: 7.656 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3723, allocations: 0 / 1.332 GB, free: 7.656 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.414e-05/0.3724, allocations: 16 kB / 1.332 GB, free: 7.641 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.3728, allocations: 70.3 kB / 1.332 GB, free: 7.578 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.374, allocations: 0.6629 MB / 1.333 GB, free: 6.891 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.3745, allocations: 0.8225 MB / 1.333 GB, free: 6.043 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.717e-05/0.3745, allocations: 21.67 kB / 1.333 GB, free: 6.023 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.613e-05/0.3746, allocations: 23.44 kB / 1.333 GB, free: 6.004 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3746, allocations: 0 / 1.333 GB, free: 6.004 MB / 1.029 GB Notification: Performance of Templates: time 0.008003/0.3826, allocations: 2.935 MB / 1.336 GB, free: 3.086 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.993080329149961]