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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001012/0.001012, allocations: 99.11 kB / 16.02 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.001353/0.001353, allocations: 186.1 kB / 16.92 MB, free: 6.75 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.349/1.349, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6497/0.65, allocations: 142.4 MB / 0.9557 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002299/0.6523, allocations: 1.885 MB / 0.9575 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.654, allocations: 1.332 MB / 0.9588 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.936e-05/0.6541, allocations: 2.75 kB / 0.9589 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005014/0.6546, allocations: 183 kB / 0.959 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.6549, allocations: 111.3 kB / 0.9591 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.6552, allocations: 126.6 kB / 0.9593 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.6555, allocations: 220.3 kB / 0.9595 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.6556, allocations: 42 kB / 0.9595 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.6557, allocations: 88.62 kB / 0.9596 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.6559, allocations: 91.38 kB / 0.9597 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.6559, allocations: 8.125 kB / 0.9597 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.656, allocations: 46.09 kB / 0.9597 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.571e-05/0.6561, allocations: 80.8 kB / 0.9598 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.703e-05/0.6562, allocations: 160 kB / 0.96 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.6565, allocations: 259.3 kB / 0.9602 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6565, allocations: 0 / 0.9602 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6565, allocations: 0 / 0.9602 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.6565, allocations: 0 / 0.9602 GB, free: 4.324 MB / 0.7169 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.0007086/0.6572, allocations: 0.626 MB / 0.9608 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.6572, allocations: 14 kB / 0.9608 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.834e-05/0.6573, allocations: 44.34 kB / 0.9609 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.6576, allocations: 357.5 kB / 0.9612 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.6577, allocations: 6.844 kB / 0.9612 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.6577, allocations: 8.312 kB / 0.9612 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.6579, allocations: 75.81 kB / 0.9613 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.6579, allocations: 0 / 0.9613 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.6579, allocations: 5.281 kB / 0.9613 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.6579, allocations: 1.25 kB / 0.9613 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.777e-05/0.658, allocations: 34.05 kB / 0.9613 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005762/0.6586, allocations: 469.2 kB / 0.9618 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.6588, allocations: 69.95 kB / 0.9619 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.899e-05/0.6588, allocations: 31.2 kB / 0.9619 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.6589, allocations: 1.625 kB / 0.9619 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.659, allocations: 72.7 kB / 0.962 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.659, allocations: 0 / 0.962 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.000305/0.6593, allocations: 154.2 kB / 0.9621 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.6594, allocations: 55.34 kB / 0.9622 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/0.6599, allocations: 0.5282 MB / 0.9627 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.66, allocations: 31.31 kB / 0.9627 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.6601, allocations: 216.4 kB / 0.9629 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.6601, allocations: 15.67 kB / 0.9629 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.6601, allocations: 24.19 kB / 0.9629 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.836e-05/0.6602, allocations: 362.6 kB / 0.9633 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.88e-05/0.6603, allocations: 43.42 kB / 0.9633 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.6605, allocations: 80.05 kB / 0.9634 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.6606, allocations: 86.39 kB / 0.9635 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6606, allocations: 1.344 kB / 0.9635 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002935/0.6609, allocations: 194.2 kB / 0.9637 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.6609, allocations: 9.688 kB / 0.9637 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.6609, allocations: 1.031 kB / 0.9637 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.661, allocations: 5.078 kB / 0.9637 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.6611, allocations: 22.44 kB / 0.9637 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.6611, allocations: 1.25 kB / 0.9637 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.6612, allocations: 24.92 kB / 0.9637 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.6612, allocations: 3.531 kB / 0.9637 GB, free: 1.398 MB / 0.7169 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.0001436/0.6614, allocations: 194.2 kB / 0.9639 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.6614, allocations: 38.19 kB / 0.964 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.526e-05/0.6615, allocations: 42.62 kB / 0.964 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.6615, allocations: 5.094 kB / 0.964 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.6615, allocations: 0 / 0.964 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.6615, allocations: 4.953 kB / 0.964 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.6617, allocations: 300.6 kB / 0.9643 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.6618, allocations: 3.938 kB / 0.9643 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.6618, allocations: 7.359 kB / 0.9643 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.6618, allocations: 0.9062 kB / 0.9643 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.6618, allocations: 9.031 kB / 0.9643 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.6618, allocations: 8.859 kB / 0.9643 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6618, allocations: 0 / 0.9643 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.662, allocations: 145.1 kB / 0.9645 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.6621, allocations: 120 kB / 0.9646 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.6621, allocations: 2.031 kB / 0.9646 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.6622, allocations: 10.09 kB / 0.9646 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.6623, allocations: 20.12 kB / 0.9646 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.6623, allocations: 3.812 kB / 0.9646 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003205/0.6626, allocations: 362.2 kB / 0.965 GB, free: 432 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6626, allocations: 1.469 kB / 0.965 GB, free: 432 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002605/0.6629, allocations: 41.91 kB / 0.965 GB, free: 424 kB / 0.7169 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.0009378/0.6638, allocations: 418.3 kB / 0.9654 GB, free: 220 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.6641, allocations: 98.97 kB / 0.9655 GB, free: 176 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6641, allocations: 3.938 kB / 0.9655 GB, free: 172 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.847e-05/0.6642, allocations: 28.23 kB / 0.9655 GB, free: 160 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.6645, allocations: 55.89 kB / 0.9656 GB, free: 128 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.6656, allocations: 0.7937 MB / 0.9664 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.666, allocations: 0.8155 MB / 0.9671 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.622e-05/0.666, allocations: 18 kB / 0.9672 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of SimCode: time 3.91e-07/0.666, allocations: 0 / 0.9672 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of Templates: time 0.008175/0.6742, allocations: 4.131 MB / 0.9712 GB, free: 12.62 MB / 0.7325 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/jenkins1/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