Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007944/0.007944, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001669/0.001669, allocations: 186.8 kB / 16.67 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.509/1.509, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.601/2.601, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.62 kB / 0.9508 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3476, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004822/0.3524, allocations: 2.185 MB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002484/0.355, allocations: 1.374 MB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.3551, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007131/0.3559, allocations: 191.6 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.3563, allocations: 135.3 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004791/0.3568, allocations: 144.1 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003816/0.3571, allocations: 223.1 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.3574, allocations: 48.31 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.3576, allocations: 107.5 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.3578, allocations: 87.58 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.3578, allocations: 8 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.358, allocations: 67.89 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.3581, allocations: 91.61 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.3583, allocations: 135 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004508/0.3587, allocations: 346.7 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.3587, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3587, allocations: 0 / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.3588, allocations: 4 kB / 1.093 GB, free: 12.34 MB / 0.8575 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.001107/0.3599, allocations: 0.6802 MB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3599, allocations: 8.031 kB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.861e-05/0.36, allocations: 48.36 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000466/0.3605, allocations: 356.3 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.3605, allocations: 4.375 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.3605, allocations: 7.938 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.3608, allocations: 77.66 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3608, allocations: 0 / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.3608, allocations: 0 / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3608, allocations: 4 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.3609, allocations: 39.91 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007461/0.3617, allocations: 460.5 kB / 1.095 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.3619, allocations: 70.61 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/0.362, allocations: 28.84 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.362, allocations: 0 / 1.095 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.3622, allocations: 75.38 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3622, allocations: 0 / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0003754/0.3626, allocations: 153 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.3626, allocations: 59.33 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005681/0.3632, allocations: 0.5294 MB / 1.095 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.3633, allocations: 25.7 kB / 1.095 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.3634, allocations: 219.9 kB / 1.096 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.3635, allocations: 19.78 kB / 1.096 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.089e-05/0.3636, allocations: 41.7 kB / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3637, allocations: 362.7 kB / 1.096 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.3639, allocations: 51.98 kB / 1.096 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.364, allocations: 80.48 kB / 1.096 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.3642, allocations: 81.64 kB / 1.096 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3642, allocations: 0 / 1.096 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00031/0.3645, allocations: 193.1 kB / 1.096 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.3645, allocations: 12.06 kB / 1.096 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3645, allocations: 0 / 1.096 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3645, allocations: 0 / 1.096 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3647, allocations: 31.86 kB / 1.097 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3647, allocations: 0 / 1.097 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.3648, allocations: 15.89 kB / 1.097 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.3648, allocations: 8 kB / 1.097 GB, free: 8.402 MB / 0.8575 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.0001801/0.365, allocations: 173.8 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.3651, allocations: 51.38 kB / 1.097 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.578e-05/0.3652, allocations: 47.8 kB / 1.097 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3652, allocations: 3.938 kB / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3652, allocations: 0 / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3652, allocations: 0 / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.3655, allocations: 301.5 kB / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3655, allocations: 112 / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.3655, allocations: 7.938 kB / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3655, allocations: 0 / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3655, allocations: 3.984 kB / 1.097 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.3655, allocations: 3.938 kB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3656, allocations: 4 kB / 1.097 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.3658, allocations: 144.9 kB / 1.097 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.041e-05/0.3659, allocations: 112.5 kB / 1.097 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.3659, allocations: 8.062 kB / 1.097 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.246e-05/0.366, allocations: 15.92 kB / 1.097 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.3661, allocations: 11.92 kB / 1.097 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.3661, allocations: 4 kB / 1.097 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003686/0.3665, allocations: 366.8 kB / 1.098 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3665, allocations: 0 / 1.098 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002558/0.3667, allocations: 43.98 kB / 1.098 GB, free: 7.027 MB / 0.8575 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.001082/0.3678, allocations: 421.6 kB / 1.098 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002929/0.3681, allocations: 95.89 kB / 1.098 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.3681, allocations: 0 / 1.098 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.014e-05/0.3682, allocations: 32 kB / 1.098 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.3686, allocations: 61.69 kB / 1.098 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.3697, allocations: 0.6362 MB / 1.099 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.3701, allocations: 0.8099 MB / 1.1 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.106e-05/0.3702, allocations: 29.53 kB / 1.1 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.3702, allocations: 27.36 kB / 1.1 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.3702, allocations: 0 / 1.1 GB, free: 5.035 MB / 0.8575 GB Notification: Performance of Templates: time 0.007191/0.3774, allocations: 2.872 MB / 1.103 GB, free: 2.188 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches