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.542/2.542, 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.001031/0.001031, allocations: 171 kB / 498.1 MB, free: 5.758 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.484/1.484, allocations: 223.2 MB / 0.7949 GB, free: 17.92 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.0009485/0.0009482, allocations: 90.78 kB / 0.9346 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003468, allocations: 6.938 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3319, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2058/0.5378, allocations: 152.4 MB / 1.372 GB, free: 9.727 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.5381, allocations: 91.94 kB / 1.372 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01505/0.5532, allocations: 6.238 MB / 1.378 GB, free: 3.289 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5532, allocations: 0 / 1.378 GB, free: 3.289 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.5533, allocations: 4 kB / 1.378 GB, free: 3.285 MB / 0.8698 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.0008033/0.5541, allocations: 0.612 MB / 1.378 GB, free: 2.625 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.5541, allocations: 8.031 kB / 1.378 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.264e-05/0.5542, allocations: 43.48 kB / 1.379 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.5545, allocations: 249.3 kB / 1.379 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.5545, allocations: 12 kB / 1.379 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.5546, allocations: 15.91 kB / 1.379 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/0.5549, allocations: 153.4 kB / 1.379 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.555, allocations: 3.984 kB / 1.379 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.555, allocations: 8 kB / 1.379 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.555, allocations: 7.938 kB / 1.379 GB, free: 2.09 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.5554, allocations: 119.9 kB / 1.379 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009559/0.5563, allocations: 0.6016 MB / 1.38 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.5567, allocations: 106.6 kB / 1.38 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.5567, allocations: 4 kB / 1.38 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.5568, allocations: 30.56 kB / 1.38 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.5568, allocations: 0 / 1.38 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.0005556/0.5573, allocations: 201.2 kB / 1.38 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.5574, allocations: 55.41 kB / 1.38 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.5578, allocations: 361.1 kB / 1.38 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.5578, allocations: 29.64 kB / 1.38 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.558, allocations: 215.7 kB / 1.381 GB, free: 288 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.558, allocations: 31.55 kB / 1.381 GB, free: 256 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-06/0.558, allocations: 4 kB / 1.381 GB, free: 252 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.5582, allocations: 346.8 kB / 1.381 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.5583, allocations: 43.97 kB / 1.381 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.5585, allocations: 61.62 kB / 1.381 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.5586, allocations: 39.98 kB / 1.381 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5587, allocations: 0 / 1.381 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003217/0.559, allocations: 169.1 kB / 1.381 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.559, allocations: 4.469 kB / 1.381 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.559, allocations: 4 kB / 1.381 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.559, allocations: 3.984 kB / 1.381 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.5592, allocations: 31.97 kB / 1.381 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.5592, allocations: 4 kB / 1.381 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.5593, allocations: 19.83 kB / 1.381 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.5593, allocations: 7.938 kB / 1.381 GB, free: 15.5 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: 0 () * Number of discrete states: 0 () * Number of clocked 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 0.0001616/0.5595, allocations: 157.8 kB / 1.381 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.5596, allocations: 31.62 kB / 1.382 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.598e-05/0.5597, allocations: 47.31 kB / 1.382 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.5597, allocations: 0 / 1.382 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.5597, allocations: 7.953 kB / 1.382 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.5597, allocations: 0 / 1.382 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.56, allocations: 313.3 kB / 1.382 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.56, allocations: 0 / 1.382 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.5602, allocations: 27.98 kB / 1.382 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5602, allocations: 0 / 1.382 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.5602, allocations: 4 kB / 1.382 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.5602, allocations: 0 / 1.382 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5603, allocations: 4 kB / 1.382 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005138/0.5608, allocations: 310.8 kB / 1.382 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.851e-05/0.5609, allocations: 116.6 kB / 1.382 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.5609, allocations: 4 kB / 1.382 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.561, allocations: 11.98 kB / 1.382 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.5611, allocations: 4 kB / 1.382 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.5611, allocations: 4 kB / 1.382 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002801/0.5614, allocations: 291.1 kB / 1.383 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5614, allocations: 0 / 1.383 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002906/0.5617, allocations: 55.95 kB / 1.383 GB, free: 14.05 MB / 0.8855 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 () * Number of clocked 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.0002242/0.5619, allocations: 119.6 kB / 1.383 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003084/0.5622, allocations: 103.9 kB / 1.383 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.5623, allocations: 288 / 1.383 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.5624, allocations: 55.84 kB / 1.383 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.5627, allocations: 37.59 kB / 1.383 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.5638, allocations: 0.7627 MB / 1.384 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.5643, allocations: 0.8062 MB / 1.385 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.493e-05/0.5643, allocations: 13.42 kB / 1.385 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.5644, allocations: 15.44 kB / 1.385 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/0.5644, allocations: 0 / 1.385 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of Templates: time 0.005749/0.5701, allocations: 1.997 MB / 1.386 GB, free: 10.11 MB / 0.8855 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