Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.137/2.137, 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.0009823/0.0009824, allocations: 176.9 kB / 487.4 MB, free: 5.023 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.588/1.588, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 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.0009451/0.0009452, allocations: 99.78 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.008e-05/2.008e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2901, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8949/1.185, allocations: 151.7 MB / 1.354 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/1.185, allocations: 83.14 kB / 1.354 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01367/1.199, allocations: 6.175 MB / 1.36 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/1.199, allocations: 0.5625 kB / 1.36 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.321e-05/1.199, allocations: 3.656 kB / 1.36 GB, free: 33.25 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005553/1.2, allocations: 0.5515 MB / 1.361 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/1.2, allocations: 7.688 kB / 1.361 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/1.2, allocations: 38.84 kB / 1.361 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/1.2, allocations: 255.2 kB / 1.361 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/1.2, allocations: 11.81 kB / 1.361 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/1.2, allocations: 7.844 kB / 1.361 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001782/1.2, allocations: 81.75 kB / 1.361 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/1.2, allocations: 110.5 kB / 1.361 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/1.2, allocations: 3.984 kB / 1.361 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/1.2, allocations: 0 / 1.361 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.2, allocations: 3.844 kB / 1.361 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006852/1.201, allocations: 0.5493 MB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/1.201, allocations: 82.8 kB / 1.362 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.959e-05/1.201, allocations: 52.44 kB / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/1.201, allocations: 0 / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/1.201, allocations: 30.56 kB / 1.362 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.103e-06/1.201, allocations: 3.844 kB / 1.362 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002085/1.202, allocations: 113.4 kB / 1.362 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/1.202, allocations: 56.91 kB / 1.362 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/1.202, allocations: 310.1 kB / 1.362 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/1.202, allocations: 29.52 kB / 1.362 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/1.202, allocations: 213.7 kB / 1.363 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/1.202, allocations: 30.12 kB / 1.363 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/1.202, allocations: 0 / 1.363 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.202, allocations: 350.4 kB / 1.363 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.93e-05/1.202, allocations: 18.41 kB / 1.363 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.527e-05/1.202, allocations: 36.12 kB / 1.363 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.745e-05/1.203, allocations: 30.81 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/1.203, allocations: 4 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000143/1.203, allocations: 128.1 kB / 1.363 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.203, allocations: 3.844 kB / 1.363 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.203, allocations: 1.312 kB / 1.363 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/1.203, allocations: 3.844 kB / 1.363 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/1.203, allocations: 23.75 kB / 1.363 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/1.203, allocations: 0 / 1.363 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/1.203, allocations: 26.97 kB / 1.363 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/1.203, allocations: 3.312 kB / 1.363 GB, free: 31.34 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.395e-05/1.203, allocations: 106.6 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/1.203, allocations: 34.91 kB / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.129e-05/1.203, allocations: 33.81 kB / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/1.203, allocations: 0 / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.203, allocations: 3.844 kB / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/1.203, allocations: 1.453 kB / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002714/1.204, allocations: 279.6 kB / 1.364 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/1.204, allocations: 4 kB / 1.364 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/1.204, allocations: 31.45 kB / 1.364 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.204, allocations: 0 / 1.364 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/1.204, allocations: 0 / 1.364 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/1.204, allocations: 5.781 kB / 1.364 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.204, allocations: 0 / 1.364 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/1.204, allocations: 249 kB / 1.364 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/1.204, allocations: 108.5 kB / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/1.204, allocations: 1.219 kB / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/1.204, allocations: 11.62 kB / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/1.204, allocations: 1.219 kB / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/1.204, allocations: 7.312 kB / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001998/1.205, allocations: 252.1 kB / 1.364 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.205, allocations: 0 / 1.364 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002476/1.205, allocations: 42.59 kB / 1.364 GB, free: 30.66 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0001886/1.205, allocations: 132.7 kB / 1.364 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001218/1.205, allocations: 61.52 kB / 1.365 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.205, allocations: 0 / 1.365 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.41e-05/1.205, allocations: 34.06 kB / 1.365 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/1.205, allocations: 30.16 kB / 1.365 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006636/1.206, allocations: 447.4 kB / 1.365 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/1.206, allocations: 0.8019 MB / 1.366 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.469e-05/1.207, allocations: 14.27 kB / 1.366 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/1.207, allocations: 11 kB / 1.366 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.207, allocations: 0 / 1.366 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of Templates: time 0.004052/1.211, allocations: 1.265 MB / 1.367 GB, free: 29.51 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches