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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.268/2.268, allocations: 387.1 MB / 399.7 MB, free: 9.496 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 180.9 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008754/0.0008754, allocations: 93.78 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.95e-05/3.974e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3215, allocations: 142.4 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9469/1.268, allocations: 154.8 MB / 1.364 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/1.269, allocations: 86.67 kB / 1.364 GB, free: 18.94 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02369/1.292, allocations: 10.45 MB / 1.374 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.185e-06/1.292, allocations: 0 / 1.374 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.549e-05/1.293, allocations: 7.812 kB / 1.374 GB, free: 33.61 MB / 0.8386 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.0006719/1.293, allocations: 0.5733 MB / 1.374 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/1.293, allocations: 7.844 kB / 1.374 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.716e-05/1.293, allocations: 46.66 kB / 1.375 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005125/1.294, allocations: 345.9 kB / 1.375 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/1.294, allocations: 3.844 kB / 1.375 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/1.294, allocations: 7.406 kB / 1.375 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/1.294, allocations: 76.73 kB / 1.375 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/1.294, allocations: 0 / 1.375 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/1.294, allocations: 3.125 kB / 1.375 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/1.294, allocations: 3.984 kB / 1.375 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.552e-05/1.294, allocations: 42.05 kB / 1.375 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005995/1.295, allocations: 483 kB / 1.375 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/1.295, allocations: 61.69 kB / 1.376 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.725e-05/1.295, allocations: 26.83 kB / 1.376 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/1.295, allocations: 0 / 1.376 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/1.295, allocations: 81.78 kB / 1.376 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/1.295, allocations: 0 / 1.376 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002116/1.295, allocations: 123.5 kB / 1.376 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/1.295, allocations: 54.27 kB / 1.376 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004418/1.296, allocations: 474.5 kB / 1.376 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/1.296, allocations: 37.05 kB / 1.376 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/1.296, allocations: 218.4 kB / 1.376 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/1.296, allocations: 17.95 kB / 1.376 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/1.296, allocations: 0 / 1.376 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.296, allocations: 356.3 kB / 1.377 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.899e-05/1.296, allocations: 56.19 kB / 1.377 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.815e-05/1.296, allocations: 77.73 kB / 1.377 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.497e-05/1.296, allocations: 63.52 kB / 1.377 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.296, allocations: 0 / 1.377 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002512/1.297, allocations: 208.6 kB / 1.377 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/1.297, allocations: 8.625 kB / 1.377 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.297, allocations: 0 / 1.377 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/1.297, allocations: 6.391 kB / 1.377 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/1.297, allocations: 25.09 kB / 1.377 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/1.297, allocations: 0 / 1.377 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/1.297, allocations: 21.59 kB / 1.377 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/1.297, allocations: 6.938 kB / 1.377 GB, free: 31.66 MB / 0.8386 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 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.748e-05/1.297, allocations: 109 kB / 1.377 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/1.297, allocations: 42.62 kB / 1.377 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/1.297, allocations: 139.1 kB / 1.378 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.297, allocations: 7.906 kB / 1.378 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/1.297, allocations: 3.953 kB / 1.378 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.297, allocations: 0 / 1.378 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/1.298, allocations: 303.8 kB / 1.378 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.298, allocations: 112 / 1.378 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-05/1.298, allocations: 7.781 kB / 1.378 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/1.298, allocations: 0 / 1.378 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/1.298, allocations: 6.812 kB / 1.378 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/1.298, allocations: 3.812 kB / 1.378 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.298, allocations: 0 / 1.378 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/1.298, allocations: 163.4 kB / 1.378 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/1.298, allocations: 123.3 kB / 1.378 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/1.298, allocations: 10.2 kB / 1.378 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/1.298, allocations: 5.547 kB / 1.378 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/1.298, allocations: 16.27 kB / 1.378 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/1.298, allocations: 0 / 1.378 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002942/1.298, allocations: 365.5 kB / 1.379 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.298, allocations: 0 / 1.379 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000265/1.299, allocations: 58.56 kB / 1.379 GB, free: 30.96 MB / 0.8386 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 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008655/1.3, allocations: 410 kB / 1.379 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001756/1.3, allocations: 98.19 kB / 1.379 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.3, allocations: 0 / 1.379 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.165e-05/1.3, allocations: 40.31 kB / 1.379 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/1.3, allocations: 47.03 kB / 1.379 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006095/1.301, allocations: 444.8 kB / 1.38 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/1.301, allocations: 0.8286 MB / 1.38 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.203e-05/1.301, allocations: 27.34 kB / 1.38 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/1.301, allocations: 19 kB / 1.38 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of SimCode: time 3.5e-07/1.301, allocations: 0 / 1.38 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of Templates: time 0.006421/1.308, allocations: 3.237 MB / 1.384 GB, free: 28.89 MB / 0.8386 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","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches