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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.871/1.871, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001075/0.001075, allocations: 185.2 kB / 487 MB, free: 5.332 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.222/1.222, allocations: 221.3 MB / 0.7819 GB, free: 1.324 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.0009578/0.0009578, allocations: 85.69 kB / 0.9213 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.266e-06/8.286e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2098, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5581/0.768, allocations: 151.6 MB / 1.353 GB, free: 16.1 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.7683, allocations: 84.09 kB / 1.353 GB, free: 16.1 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01448/0.7828, allocations: 5.901 MB / 1.359 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.7829, allocations: 5.781 kB / 1.359 GB, free: 15.28 MB / 0.8073 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.0005838/0.7834, allocations: 0.5483 MB / 1.36 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.7835, allocations: 8.906 kB / 1.36 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.135e-05/0.7836, allocations: 43.41 kB / 1.36 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.7838, allocations: 254.7 kB / 1.36 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.7838, allocations: 9.25 kB / 1.36 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.7838, allocations: 12.73 kB / 1.36 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002058/0.7841, allocations: 78.14 kB / 1.36 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.7842, allocations: 114.3 kB / 1.36 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.7843, allocations: 0 / 1.36 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.7843, allocations: 0.5156 kB / 1.36 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.7843, allocations: 4 kB / 1.36 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006905/0.785, allocations: 0.5519 MB / 1.361 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.7852, allocations: 92.17 kB / 1.361 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.493e-05/0.7853, allocations: 38.97 kB / 1.361 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.7853, allocations: 0 / 1.361 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.104e-05/0.7853, allocations: 38.66 kB / 1.361 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.7853, allocations: 0 / 1.361 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001982/0.7855, allocations: 112.7 kB / 1.361 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.583e-05/0.7855, allocations: 51.41 kB / 1.361 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.7858, allocations: 318.6 kB / 1.361 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.7858, allocations: 25.7 kB / 1.361 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.7859, allocations: 147.2 kB / 1.361 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.7859, allocations: 35.16 kB / 1.361 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.7859, allocations: 0 / 1.361 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.1e-05/0.786, allocations: 348.1 kB / 1.362 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.901e-05/0.786, allocations: 23.22 kB / 1.362 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.504e-05/0.7861, allocations: 38.36 kB / 1.362 GB, free: 13 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.458e-05/0.7861, allocations: 35.84 kB / 1.362 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.7861, allocations: 0 / 1.362 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001467/0.7863, allocations: 117.2 kB / 1.362 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.7863, allocations: 8.797 kB / 1.362 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.7863, allocations: 3.938 kB / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.7863, allocations: 1.203 kB / 1.362 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.7865, allocations: 29.06 kB / 1.362 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.7865, allocations: 4.031 kB / 1.362 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.7866, allocations: 15.17 kB / 1.362 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.7866, allocations: 7.312 kB / 1.362 GB, free: 12.82 MB / 0.8073 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 4.218e-05/0.7867, allocations: 105.4 kB / 1.362 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.7867, allocations: 31.62 kB / 1.362 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.11e-05/0.7868, allocations: 38.17 kB / 1.362 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.7868, allocations: 7.906 kB / 1.362 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.7868, allocations: 0 / 1.362 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.7868, allocations: 0.7969 kB / 1.362 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.787, allocations: 278.2 kB / 1.363 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.7871, allocations: 3.938 kB / 1.363 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.7872, allocations: 28.81 kB / 1.363 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.7872, allocations: 7.906 kB / 1.363 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.7872, allocations: 4 kB / 1.363 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.7872, allocations: 0.7969 kB / 1.363 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7872, allocations: 0 / 1.363 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002038/0.7874, allocations: 248.8 kB / 1.363 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.7875, allocations: 102 kB / 1.363 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.7875, allocations: 0 / 1.363 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.7877, allocations: 19.25 kB / 1.363 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.7877, allocations: 6.484 kB / 1.363 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.7877, allocations: 0 / 1.363 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001768/0.7879, allocations: 257.4 kB / 1.363 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002398/0.7882, allocations: 40.41 kB / 1.363 GB, free: 11.82 MB / 0.8073 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.0001433/0.7883, allocations: 127.8 kB / 1.363 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.7884, allocations: 63.08 kB / 1.363 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.7884, allocations: 0 / 1.363 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.603e-05/0.7885, allocations: 36.58 kB / 1.363 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.7887, allocations: 17.11 kB / 1.363 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006965/0.7894, allocations: 443.4 kB / 1.364 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.7897, allocations: 0.8254 MB / 1.365 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of SimCode: time 2.31e-07/0.7897, allocations: 0 / 1.365 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of Templates: time 0.004211/0.7939, allocations: 1.438 MB / 1.366 GB, free: 9.617 MB / 0.8073 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