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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001217/0.001217, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 197.4 kB / 16.53 MB, free: 6.664 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.431/1.431, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.821/2.821, allocations: 472.7 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 64.94 kB / 0.9121 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3558, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004544/0.3604, allocations: 2.174 MB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002629/0.3631, allocations: 1.377 MB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.3634, allocations: 4 kB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007297/0.3642, allocations: 187.6 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004493/0.3646, allocations: 127.3 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.3651, allocations: 151.2 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.3655, allocations: 227.1 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.3656, allocations: 44.66 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.3658, allocations: 87.58 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.366, allocations: 103.5 kB / 1.073 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.3661, allocations: 12 kB / 1.073 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.3663, allocations: 51.95 kB / 1.073 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.3664, allocations: 87.62 kB / 1.073 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.3665, allocations: 131 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.367, allocations: 358.6 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.367, allocations: 0 / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.164e-06/0.367, allocations: 0 / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.367, allocations: 4 kB / 1.073 GB, free: 5.27 MB / 0.8262 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.001086/0.3681, allocations: 0.6802 MB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3681, allocations: 11.97 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.578e-05/0.3682, allocations: 44.38 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.3687, allocations: 356.2 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.3687, allocations: 4.375 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.3688, allocations: 15.92 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.3689, allocations: 73.66 kB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.369, allocations: 0 / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.369, allocations: 4 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.369, allocations: 4 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.84e-05/0.3691, allocations: 35.91 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007554/0.3699, allocations: 456.5 kB / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.3701, allocations: 70.72 kB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.273e-05/0.3701, allocations: 28.8 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.3702, allocations: 0 / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.3704, allocations: 83.38 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.3704, allocations: 4 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.000367/0.3708, allocations: 149 kB / 1.075 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.178e-05/0.3709, allocations: 55.34 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006279/0.3715, allocations: 0.5294 MB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.3716, allocations: 25.7 kB / 1.076 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.3717, allocations: 220 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.3717, allocations: 19.73 kB / 1.076 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.766e-05/0.3718, allocations: 41.7 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002109/0.372, allocations: 362.8 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.3721, allocations: 51.89 kB / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.3723, allocations: 76.11 kB / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.3724, allocations: 81.69 kB / 1.077 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3724, allocations: 0 / 1.077 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000348/0.3728, allocations: 202.1 kB / 1.077 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3728, allocations: 11.98 kB / 1.077 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3728, allocations: 0 / 1.077 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3729, allocations: 0 / 1.077 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.373, allocations: 27.88 kB / 1.077 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.373, allocations: 3.984 kB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.3732, allocations: 12 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.3732, allocations: 4 kB / 1.077 GB, free: 1.336 MB / 0.8262 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.0002221/0.3734, allocations: 182.8 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-05/0.3735, allocations: 43.44 kB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.851e-05/0.3736, allocations: 43.81 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.3736, allocations: 7.922 kB / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3736, allocations: 0 / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3736, allocations: 0 / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.3739, allocations: 297.5 kB / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.374, allocations: 3.984 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-05/0.374, allocations: 7.938 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.374, allocations: 0 / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.374, allocations: 0 / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.374, allocations: 7.938 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.374, allocations: 7.922 kB / 1.077 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.3743, allocations: 148.9 kB / 1.078 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.3744, allocations: 120.6 kB / 1.078 GB, free: 392 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.3745, allocations: 4 kB / 1.078 GB, free: 388 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.491e-05/0.3746, allocations: 11.94 kB / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.3747, allocations: 7.984 kB / 1.078 GB, free: 368 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.3747, allocations: 11.98 kB / 1.078 GB, free: 356 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004478/0.3751, allocations: 362.9 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3751, allocations: 0 / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003071/0.3755, allocations: 43.84 kB / 1.078 GB, free: 15.95 MB / 0.8419 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.001183/0.3766, allocations: 414.3 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002943/0.3769, allocations: 99.89 kB / 1.079 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.377, allocations: 4.062 kB / 1.079 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.019e-05/0.3771, allocations: 31.97 kB / 1.079 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.3775, allocations: 65.59 kB / 1.079 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.3788, allocations: 0.6402 MB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000602/0.3794, allocations: 0.8177 MB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001322/0.3795, allocations: 25.53 kB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.3796, allocations: 19.44 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of SimCode: time 4.6e-07/0.3796, allocations: 0 / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of Templates: time 0.007165/0.3868, allocations: 2.876 MB / 1.083 GB, free: 11.1 MB / 0.8419 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