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.001388/0.001389, allocations: 112.5 kB / 15.73 MB, free: 76 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.001601/0.001601, allocations: 193.1 kB / 16.66 MB, free: 6.582 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.528/1.528, allocations: 222.9 MB / 240.3 MB, free: 4.344 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.705/2.705, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 63.06 kB / 0.9508 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3562, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.005282/0.3616, allocations: 2.179 MB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003081/0.3647, allocations: 1.374 MB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.3649, allocations: 4 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007722/0.3657, allocations: 191.6 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000421/0.3661, allocations: 119.4 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004877/0.3666, allocations: 159.1 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003898/0.367, allocations: 227.2 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.3672, allocations: 52.23 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.3674, allocations: 91.62 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003218/0.3678, allocations: 103.5 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.4e-05/0.3678, allocations: 15.94 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.368, allocations: 51.97 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.3682, allocations: 87.67 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.3684, allocations: 135 kB / 1.093 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005944/0.3691, allocations: 366.2 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3691, allocations: 3.938 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3691, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.3691, allocations: 0 / 1.093 GB, free: 12.33 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.001286/0.3704, allocations: 0.6918 MB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.3705, allocations: 12.03 kB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.3706, allocations: 44.66 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006236/0.3712, allocations: 356.7 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.3712, allocations: 4.375 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.3713, allocations: 15.92 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.3715, allocations: 73.66 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3716, allocations: 4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.3716, allocations: 4 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3716, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.3718, allocations: 35.92 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009613/0.3727, allocations: 456.5 kB / 1.095 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.373, allocations: 70.67 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.695e-05/0.3731, allocations: 24.86 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.3731, allocations: 0 / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.3733, allocations: 75.31 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.3733, allocations: 0 / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0003589/0.3737, allocations: 149.3 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.3738, allocations: 59.34 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000641/0.3744, allocations: 0.5332 MB / 1.095 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.3744, allocations: 29.7 kB / 1.095 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.3746, allocations: 220 kB / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.3746, allocations: 19.89 kB / 1.096 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/0.3747, allocations: 33.7 kB / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3749, allocations: 362.8 kB / 1.096 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.375, allocations: 48.17 kB / 1.096 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.3751, allocations: 80.42 kB / 1.096 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.3753, allocations: 100.3 kB / 1.096 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3753, allocations: 0 / 1.096 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000394/0.3757, allocations: 193.3 kB / 1.096 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3757, allocations: 7.984 kB / 1.096 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3757, allocations: 3.984 kB / 1.096 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3758, allocations: 4.062 kB / 1.096 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.3759, allocations: 23.94 kB / 1.097 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3759, allocations: 3.984 kB / 1.097 GB, free: 8.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.3761, allocations: 15.94 kB / 1.097 GB, free: 8.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.3761, allocations: 4 kB / 1.097 GB, free: 8.387 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.0001775/0.3763, allocations: 182.8 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.926e-05/0.3764, allocations: 55.66 kB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.681e-05/0.3765, allocations: 47.73 kB / 1.097 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3765, allocations: 7.938 kB / 1.097 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3765, allocations: 112 / 1.097 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3765, allocations: 3.938 kB / 1.097 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.3768, allocations: 293.5 kB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.3768, allocations: 3.984 kB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.3768, allocations: 4 kB / 1.097 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.3768, allocations: 0 / 1.097 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3768, allocations: 4 kB / 1.097 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.3769, allocations: 3.938 kB / 1.097 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3769, allocations: 0 / 1.097 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.3771, allocations: 156.8 kB / 1.097 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.3772, allocations: 116.8 kB / 1.097 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.3773, allocations: 4 kB / 1.097 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.013e-05/0.3774, allocations: 7.938 kB / 1.097 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.3774, allocations: 7.984 kB / 1.097 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.3774, allocations: 7.984 kB / 1.097 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003618/0.3778, allocations: 362.8 kB / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3778, allocations: 4 kB / 1.098 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003347/0.3781, allocations: 47.94 kB / 1.098 GB, free: 6.996 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.001066/0.3792, allocations: 418.5 kB / 1.098 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002486/0.3795, allocations: 95.83 kB / 1.098 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3795, allocations: 4 kB / 1.098 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.639e-05/0.3796, allocations: 31.92 kB / 1.098 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.3799, allocations: 53.39 kB / 1.098 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000983/0.3809, allocations: 0.6475 MB / 1.099 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.3814, allocations: 0.8138 MB / 1.1 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.008e-05/0.3815, allocations: 33.52 kB / 1.1 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.3815, allocations: 19.44 kB / 1.1 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of SimCode: time 2.044e-06/0.3815, allocations: 0 / 1.1 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of Templates: time 0.007853/0.3894, allocations: 2.872 MB / 1.103 GB, free: 2.148 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