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.193/2.193, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001238/0.001239, allocations: 180.6 kB / 487.4 MB, free: 5.012 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.454/1.454, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008753/0.0008753, allocations: 91.73 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.12e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.289, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9048/1.194, allocations: 154.2 MB / 1.357 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/1.194, allocations: 94.56 kB / 1.357 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02382/1.218, allocations: 10.34 MB / 1.367 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.562e-06/1.218, allocations: 0 / 1.367 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.26e-05/1.218, allocations: 7.688 kB / 1.367 GB, free: 33.14 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.0006788/1.219, allocations: 0.5708 MB / 1.367 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.219, allocations: 7.688 kB / 1.367 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.359e-05/1.219, allocations: 42.91 kB / 1.367 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/1.219, allocations: 358.5 kB / 1.368 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/1.22, allocations: 3.938 kB / 1.368 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/1.22, allocations: 3.75 kB / 1.368 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.827e-05/1.22, allocations: 38.83 kB / 1.368 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/1.22, allocations: 68.42 kB / 1.368 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/1.22, allocations: 0 / 1.368 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/1.22, allocations: 0 / 1.368 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.22, allocations: 3.844 kB / 1.368 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/1.22, allocations: 442.7 kB / 1.368 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/1.221, allocations: 64.94 kB / 1.368 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/1.221, allocations: 20.09 kB / 1.368 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/1.221, allocations: 7.891 kB / 1.368 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/1.221, allocations: 76.58 kB / 1.368 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/1.221, allocations: 0 / 1.368 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002396/1.221, allocations: 121.2 kB / 1.368 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/1.221, allocations: 55.25 kB / 1.369 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004372/1.221, allocations: 450.9 kB / 1.369 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/1.221, allocations: 32.83 kB / 1.369 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/1.222, allocations: 226.4 kB / 1.369 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/1.222, allocations: 13.22 kB / 1.369 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/1.222, allocations: 0 / 1.369 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.222, allocations: 357.9 kB / 1.37 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.38e-05/1.222, allocations: 53.17 kB / 1.37 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8e-05/1.222, allocations: 76.27 kB / 1.37 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/1.222, allocations: 67.52 kB / 1.37 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.222, allocations: 0 / 1.37 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000327/1.223, allocations: 205.2 kB / 1.37 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/1.223, allocations: 7.781 kB / 1.37 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.223, allocations: 0 / 1.37 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/1.223, allocations: 0 / 1.37 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/1.223, allocations: 27.81 kB / 1.37 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/1.223, allocations: 3.953 kB / 1.37 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/1.223, allocations: 18.64 kB / 1.37 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/1.223, allocations: 7.938 kB / 1.37 GB, free: 31.23 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 9.265e-05/1.223, allocations: 112.7 kB / 1.37 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/1.223, allocations: 42.62 kB / 1.37 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/1.223, allocations: 128.4 kB / 1.37 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.223, allocations: 0 / 1.37 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.223, allocations: 3.719 kB / 1.37 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.223, allocations: 6.672 kB / 1.37 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/1.223, allocations: 276.8 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.223, allocations: 0 / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/1.224, allocations: 3.844 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/1.224, allocations: 3.938 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/1.224, allocations: 6.484 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.224, allocations: 0 / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.224, allocations: 3.938 kB / 1.371 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/1.224, allocations: 160.5 kB / 1.371 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/1.224, allocations: 128 kB / 1.371 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/1.224, allocations: 6.094 kB / 1.371 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.673e-05/1.224, allocations: 7.688 kB / 1.371 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/1.224, allocations: 9.828 kB / 1.371 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/1.224, allocations: 3.969 kB / 1.371 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000312/1.224, allocations: 336.1 kB / 1.371 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.224, allocations: 0 / 1.371 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002751/1.225, allocations: 59.69 kB / 1.371 GB, free: 30.56 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.0008754/1.226, allocations: 387.2 kB / 1.372 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001679/1.226, allocations: 96.08 kB / 1.372 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.226, allocations: 0 / 1.372 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.902e-05/1.226, allocations: 29.39 kB / 1.372 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/1.226, allocations: 51.67 kB / 1.372 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006787/1.227, allocations: 447.6 kB / 1.372 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/1.227, allocations: 0.8171 MB / 1.373 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001017/1.227, allocations: 33.81 kB / 1.373 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/1.227, allocations: 21.62 kB / 1.373 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of SimCode: time 2.81e-07/1.227, allocations: 0 / 1.373 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of Templates: time 0.006293/1.234, allocations: 2.697 MB / 1.376 GB, free: 29.19 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