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.511/2.511, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001042/0.001042, allocations: 177 kB / 498.1 MB, free: 5.746 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.571/1.571, allocations: 223.2 MB / 0.7948 GB, free: 17.85 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.0009616/0.000962, allocations: 100.2 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004947/0.0004948, allocations: 14.25 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3484, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.209/0.5574, allocations: 154.9 MB / 1.374 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/0.5578, allocations: 91.94 kB / 1.374 GB, free: 7.07 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02882/0.5866, allocations: 10.47 MB / 1.384 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5867, allocations: 0 / 1.384 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.034e-05/0.5867, allocations: 4 kB / 1.384 GB, free: 12.48 MB / 0.8855 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.001228/0.588, allocations: 0.6727 MB / 1.385 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.072e-05/0.588, allocations: 8.031 kB / 1.385 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.5882, allocations: 43.44 kB / 1.385 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000694/0.5889, allocations: 347.2 kB / 1.386 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.5889, allocations: 8 kB / 1.386 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.5889, allocations: 7.984 kB / 1.386 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.5892, allocations: 73.66 kB / 1.386 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5892, allocations: 4 kB / 1.386 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.5892, allocations: 0 / 1.386 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.5892, allocations: 4 kB / 1.386 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.5893, allocations: 39.92 kB / 1.386 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008567/0.5902, allocations: 480.4 kB / 1.386 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.5904, allocations: 70.61 kB / 1.386 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.5904, allocations: 0 / 1.386 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.5906, allocations: 83.45 kB / 1.386 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.5907, allocations: 0 / 1.386 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0003829/0.5911, allocations: 153 kB / 1.386 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.5911, allocations: 51.41 kB / 1.386 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005957/0.5917, allocations: 481.3 kB / 1.387 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.5918, allocations: 33.69 kB / 1.387 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.592, allocations: 215.9 kB / 1.387 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.592, allocations: 23.78 kB / 1.387 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.592, allocations: 0 / 1.387 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.5922, allocations: 354.8 kB / 1.387 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.5924, allocations: 63.97 kB / 1.388 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.5925, allocations: 83.31 kB / 1.388 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.5927, allocations: 67.02 kB / 1.388 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5927, allocations: 0 / 1.388 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003575/0.5931, allocations: 213 kB / 1.388 GB, free: 8.742 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.5931, allocations: 4 kB / 1.388 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5931, allocations: 0 / 1.388 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.5931, allocations: 8.016 kB / 1.388 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.5933, allocations: 27.92 kB / 1.388 GB, free: 8.703 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.5933, allocations: 0 / 1.388 GB, free: 8.703 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.5934, allocations: 19.92 kB / 1.388 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.284e-05/0.5934, allocations: 8.25 kB / 1.388 GB, free: 8.676 MB / 0.8855 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002157/0.5937, allocations: 183.3 kB / 1.388 GB, free: 8.488 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.5937, allocations: 39.44 kB / 1.388 GB, free: 8.449 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002809/0.594, allocations: 145.4 kB / 1.388 GB, free: 8.297 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.594, allocations: 11.94 kB / 1.388 GB, free: 8.285 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5941, allocations: 0 / 1.388 GB, free: 8.285 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5941, allocations: 0 / 1.388 GB, free: 8.285 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003803/0.5944, allocations: 297.5 kB / 1.389 GB, free: 7.945 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5945, allocations: 4 kB / 1.389 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.5945, allocations: 4 kB / 1.389 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5945, allocations: 0 / 1.389 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.5945, allocations: 3.984 kB / 1.389 GB, free: 7.934 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.5945, allocations: 112 / 1.389 GB, free: 7.934 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.5945, allocations: 11.89 kB / 1.389 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.5949, allocations: 160.5 kB / 1.389 GB, free: 7.746 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.595, allocations: 120.5 kB / 1.389 GB, free: 7.609 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.5951, allocations: 4 kB / 1.389 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/0.5952, allocations: 4 kB / 1.389 GB, free: 7.602 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.417e-05/0.5952, allocations: 19.97 kB / 1.389 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.5953, allocations: 7.953 kB / 1.389 GB, free: 7.574 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004788/0.5957, allocations: 362.8 kB / 1.389 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5958, allocations: 0 / 1.389 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003708/0.5961, allocations: 63.92 kB / 1.389 GB, free: 7.16 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001427/0.5976, allocations: 458.2 kB / 1.39 GB, free: 6.863 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002974/0.5979, allocations: 99.89 kB / 1.39 GB, free: 6.766 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5979, allocations: 0 / 1.39 GB, free: 6.766 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.332e-05/0.598, allocations: 31.98 kB / 1.39 GB, free: 6.734 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.5984, allocations: 41.94 kB / 1.39 GB, free: 6.695 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.5997, allocations: 0.7299 MB / 1.391 GB, free: 5.934 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.6003, allocations: 0.8296 MB / 1.391 GB, free: 5.078 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001328/0.6005, allocations: 25.69 kB / 1.391 GB, free: 5.051 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.6005, allocations: 27.42 kB / 1.392 GB, free: 5.023 MB / 0.8855 GB Notification: Performance of SimCode: time 5.1e-07/0.6005, allocations: 0 / 1.392 GB, free: 5.023 MB / 0.8855 GB Notification: Performance of Templates: time 0.009233/0.6098, allocations: 3.131 MB / 1.395 GB, free: 1.918 MB / 0.8855 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