Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008693/0.008693, allocations: 101.7 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 189.6 kB / 16.67 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.9/2.9, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 68.11 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3583, allocations: 157.4 MB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004044/0.3624, allocations: 2.193 MB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002386/0.3648, allocations: 1.366 MB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.3651, allocations: 7.938 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007294/0.3658, allocations: 187.4 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005038/0.3664, allocations: 127.4 kB / 1.212 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006974/0.3671, allocations: 149.6 kB / 1.212 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006156/0.3677, allocations: 227.1 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.368, allocations: 44.31 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003581/0.3683, allocations: 95.56 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.3687, allocations: 103.5 kB / 1.212 GB, free: 5.105 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.523e-05/0.3687, allocations: 8 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.369, allocations: 59.95 kB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.3692, allocations: 91.61 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002496/0.3695, allocations: 131 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008288/0.3703, allocations: 358.6 kB / 1.213 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.3704, allocations: 0 / 1.213 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.067e-06/0.3704, allocations: 0 / 1.213 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.376e-05/0.3704, allocations: 0 / 1.213 GB, free: 4.469 MB / 0.9669 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.001715/0.3721, allocations: 0.6802 MB / 1.213 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.645e-05/0.3722, allocations: 8.625 kB / 1.213 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.3724, allocations: 52.36 kB / 1.213 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007389/0.3731, allocations: 352.2 kB / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.3732, allocations: 4.375 kB / 1.214 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.3732, allocations: 11.94 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.3735, allocations: 69.66 kB / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3735, allocations: 0 / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.3735, allocations: 12 kB / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3735, allocations: 0 / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.3737, allocations: 35.95 kB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009627/0.3746, allocations: 464.4 kB / 1.214 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.3749, allocations: 58.69 kB / 1.214 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.745e-05/0.375, allocations: 32.84 kB / 1.214 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.375, allocations: 0 / 1.214 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.3752, allocations: 83.31 kB / 1.215 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.3752, allocations: 0 / 1.215 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004453/0.3757, allocations: 137.3 kB / 1.215 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.3758, allocations: 59.33 kB / 1.215 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006991/0.3765, allocations: 0.5371 MB / 1.215 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.3765, allocations: 25.7 kB / 1.215 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.3767, allocations: 216 kB / 1.215 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.3768, allocations: 23.81 kB / 1.215 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/0.3769, allocations: 45.61 kB / 1.216 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.377, allocations: 358.7 kB / 1.216 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.3772, allocations: 51.98 kB / 1.216 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.3773, allocations: 83.8 kB / 1.216 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.3775, allocations: 83.39 kB / 1.216 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3775, allocations: 0 / 1.216 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003369/0.3778, allocations: 198.7 kB / 1.216 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3779, allocations: 8 kB / 1.216 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3779, allocations: 0 / 1.216 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3779, allocations: 0 / 1.216 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.378, allocations: 31.98 kB / 1.216 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3781, allocations: 3.938 kB / 1.216 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3782, allocations: 15.98 kB / 1.216 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.3782, allocations: 4 kB / 1.216 GB, free: 0.5312 MB / 0.9669 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.0001876/0.3784, allocations: 177.8 kB / 1.217 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.3785, allocations: 47.42 kB / 1.217 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.798e-05/0.3785, allocations: 39.81 kB / 1.217 GB, free: 264 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3786, allocations: 3.938 kB / 1.217 GB, free: 260 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3786, allocations: 4 kB / 1.217 GB, free: 256 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3786, allocations: 0 / 1.217 GB, free: 256 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.3789, allocations: 297.5 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3789, allocations: 0 / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.326e-05/0.3789, allocations: 4 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3789, allocations: 112 / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.379, allocations: 7.922 kB / 1.217 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.379, allocations: 3.938 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.379, allocations: 4 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.3792, allocations: 156.5 kB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.836e-05/0.3793, allocations: 112.6 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.3794, allocations: 7.984 kB / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.3795, allocations: 7.938 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.3795, allocations: 7.984 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.3795, allocations: 8.062 kB / 1.217 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003917/0.3799, allocations: 362.8 kB / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.21e-07/0.3799, allocations: 0 / 1.218 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002968/0.3802, allocations: 59.89 kB / 1.218 GB, free: 15.15 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 (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.001137/0.3814, allocations: 407.1 kB / 1.218 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.3817, allocations: 102.7 kB / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3817, allocations: 0 / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.687e-05/0.3818, allocations: 27.92 kB / 1.218 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.3821, allocations: 60.95 kB / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009713/0.3831, allocations: 0.6362 MB / 1.219 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.3835, allocations: 0.8138 MB / 1.22 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.843e-05/0.3836, allocations: 29.47 kB / 1.22 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.3837, allocations: 19.42 kB / 1.22 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3837, allocations: 11.94 kB / 1.22 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of Templates: time 0.006898/0.3906, allocations: 2.88 MB / 1.222 GB, free: 10.3 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches