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.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.008709/0.008709, allocations: 102 kB / 15.73 MB, free: 6.062 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.001426/0.001426, allocations: 195 kB / 16.68 MB, free: 5.973 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.907/2.907, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 64.12 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3447, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003859/0.3486, allocations: 2.195 MB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002201/0.3508, allocations: 1.37 MB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.351, allocations: 8 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006589/0.3516, allocations: 191.4 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003613/0.352, allocations: 127.4 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.3524, allocations: 150.8 kB / 1.225 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.3527, allocations: 231.1 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.3528, allocations: 36.33 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.353, allocations: 99.56 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.3532, allocations: 95.48 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.3532, allocations: 12 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.3534, allocations: 55.91 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.3535, allocations: 91.67 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.3536, allocations: 134.9 kB / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004358/0.354, allocations: 354.2 kB / 1.226 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.354, allocations: 4 kB / 1.226 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.354, allocations: 4 kB / 1.226 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.354, allocations: 0 / 1.226 GB, free: 8.648 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.0009679/0.355, allocations: 0.6956 MB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.355, allocations: 12.03 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.3552, allocations: 44.66 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/0.3556, allocations: 360.7 kB / 1.227 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.3557, allocations: 4.375 kB / 1.227 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.3557, allocations: 11.94 kB / 1.227 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.3559, allocations: 81.53 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3559, allocations: 4 kB / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.3559, allocations: 4 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3559, allocations: 0 / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.356, allocations: 35.98 kB / 1.227 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007608/0.3568, allocations: 452.5 kB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.357, allocations: 66.67 kB / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.738e-05/0.3571, allocations: 32.78 kB / 1.227 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.3571, allocations: 3.984 kB / 1.227 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.3573, allocations: 67.39 kB / 1.227 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 3.216e-06/0.3573, allocations: 4 kB / 1.227 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003981/0.3577, allocations: 145.4 kB / 1.228 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.3577, allocations: 59.34 kB / 1.228 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005912/0.3583, allocations: 0.5332 MB / 1.228 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.3583, allocations: 29.7 kB / 1.228 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.3585, allocations: 224 kB / 1.228 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.3585, allocations: 11.91 kB / 1.228 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.611e-05/0.3586, allocations: 45.59 kB / 1.228 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3587, allocations: 362.8 kB / 1.229 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.3589, allocations: 47.97 kB / 1.229 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.359, allocations: 80.27 kB / 1.229 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.3592, allocations: 83.66 kB / 1.229 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3592, allocations: 0 / 1.229 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000342/0.3595, allocations: 209.3 kB / 1.229 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3595, allocations: 7.938 kB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.3595, allocations: 0 / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3595, allocations: 4.109 kB / 1.229 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.3597, allocations: 32.05 kB / 1.229 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3597, allocations: 0 / 1.229 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.3598, allocations: 16 kB / 1.229 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.3598, allocations: 7.984 kB / 1.229 GB, free: 4.68 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.0001701/0.36, allocations: 179.5 kB / 1.229 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.36, allocations: 43.72 kB / 1.229 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.094e-05/0.3601, allocations: 47.8 kB / 1.23 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3601, allocations: 3.938 kB / 1.23 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3601, allocations: 4 kB / 1.23 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3601, allocations: 0 / 1.23 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.3604, allocations: 297.5 kB / 1.23 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3604, allocations: 0 / 1.23 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.3604, allocations: 4 kB / 1.23 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.3604, allocations: 7.938 kB / 1.23 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.3604, allocations: 0 / 1.23 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3604, allocations: 7.938 kB / 1.23 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3604, allocations: 0 / 1.23 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.3606, allocations: 152.8 kB / 1.23 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-05/0.3607, allocations: 116.8 kB / 1.23 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.3607, allocations: 0 / 1.23 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.267e-05/0.3608, allocations: 15.92 kB / 1.23 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.3609, allocations: 11.98 kB / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.3609, allocations: 4 kB / 1.23 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003534/0.3612, allocations: 362.8 kB / 1.23 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3612, allocations: 0 / 1.23 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002552/0.3615, allocations: 43.94 kB / 1.23 GB, free: 3.309 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.0009956/0.3625, allocations: 425.5 kB / 1.231 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.3628, allocations: 86.22 kB / 1.231 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3628, allocations: 64 / 1.231 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.788e-05/0.3628, allocations: 27.92 kB / 1.231 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.3632, allocations: 55.62 kB / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.3643, allocations: 0.6588 MB / 1.232 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.3646, allocations: 0.8138 MB / 1.233 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.544e-05/0.3647, allocations: 33.64 kB / 1.233 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.3648, allocations: 23.42 kB / 1.233 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3648, allocations: 0 / 1.233 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of Templates: time 0.007049/0.3718, allocations: 2.886 MB / 1.235 GB, free: 14.45 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) 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) Reference file matches