Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.17/1.17, allocations: 249.4 MB / 256.7 MB, free: 7.078 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009581/0.0009581, allocations: 177.3 kB / 316 MB, free: 3.609 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9764/0.9764, allocations: 205.2 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008224/0.0008224, allocations: 94.05 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.52e-06/5.54e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1335, allocations: 106.3 MB / 0.8846 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3833/0.5168, allocations: 135.2 MB / 1.017 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.5171, allocations: 87.11 kB / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01292/0.53, allocations: 5.924 MB / 1.022 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.53, allocations: 4 kB / 1.022 GB, free: 14.47 MB / 0.6511 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.0005547/0.5306, allocations: 0.549 MB / 1.023 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.5306, allocations: 8.031 kB / 1.023 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.158e-05/0.5307, allocations: 43.44 kB / 1.023 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.5309, allocations: 253.2 kB / 1.023 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.5309, allocations: 4 kB / 1.023 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.531, allocations: 12 kB / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001658/0.5311, allocations: 82.55 kB / 1.023 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.5313, allocations: 121.3 kB / 1.024 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.5313, allocations: 0 / 1.024 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.5314, allocations: 0 / 1.024 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.5314, allocations: 4 kB / 1.024 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006816/0.5321, allocations: 0.5473 MB / 1.024 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.5323, allocations: 90.17 kB / 1.024 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.772e-05/0.5323, allocations: 53.88 kB / 1.024 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.5324, allocations: 3.562 kB / 1.024 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.5324, allocations: 38.47 kB / 1.024 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.5324, allocations: 0 / 1.024 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0002044/0.5326, allocations: 110.2 kB / 1.024 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.5326, allocations: 53.84 kB / 1.024 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.5329, allocations: 312.6 kB / 1.025 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.5329, allocations: 29.7 kB / 1.025 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.533, allocations: 153.5 kB / 1.025 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.5331, allocations: 27 kB / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.5331, allocations: 0 / 1.025 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5332, allocations: 350.7 kB / 1.025 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.947e-05/0.5332, allocations: 18.44 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.844e-05/0.5333, allocations: 35.72 kB / 1.025 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.462e-05/0.5333, allocations: 37.86 kB / 1.025 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.5333, allocations: 0 / 1.025 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001535/0.5335, allocations: 118.9 kB / 1.025 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.5335, allocations: 4.094 kB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.5335, allocations: 7.938 kB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.5335, allocations: 0 / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.5337, allocations: 34.86 kB / 1.025 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.5337, allocations: 3.984 kB / 1.025 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.5338, allocations: 19.88 kB / 1.025 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.5338, allocations: 7.984 kB / 1.025 GB, free: 11.55 MB / 0.6511 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 6.585e-05/0.5339, allocations: 105 kB / 1.026 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.534, allocations: 35.53 kB / 1.026 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.041e-05/0.534, allocations: 33.64 kB / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.534, allocations: 8 kB / 1.026 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.534, allocations: 0 / 1.026 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.5341, allocations: 0 / 1.026 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.5343, allocations: 277.4 kB / 1.026 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.5343, allocations: 0 / 1.026 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000144/0.5345, allocations: 23.98 kB / 1.026 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.5345, allocations: 0 / 1.026 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.5345, allocations: 4 kB / 1.026 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5345, allocations: 4 kB / 1.026 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5345, allocations: 0 / 1.026 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002376/0.5347, allocations: 248.6 kB / 1.026 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.48e-05/0.5348, allocations: 104.6 kB / 1.026 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.5348, allocations: 0 / 1.026 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.535, allocations: 16.05 kB / 1.026 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.535, allocations: 4 kB / 1.026 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.535, allocations: 3.062 kB / 1.026 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001922/0.5352, allocations: 255 kB / 1.027 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002362/0.5355, allocations: 39.84 kB / 1.027 GB, free: 10.48 MB / 0.6511 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.0001473/0.5356, allocations: 127.7 kB / 1.027 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.5358, allocations: 67.67 kB / 1.027 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.12e-07/0.5358, allocations: 192 / 1.027 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.885e-05/0.5358, allocations: 38.12 kB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.536, allocations: 18.53 kB / 1.027 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007271/0.5368, allocations: 449.2 kB / 1.027 GB, free: 9.836 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/0.5371, allocations: 0.8191 MB / 1.028 GB, free: 9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.443e-06/0.5372, allocations: 0 / 1.028 GB, free: 9 MB / 0.6511 GB Notification: Performance of Templates: time 0.003905/0.5411, allocations: 1.441 MB / 1.029 GB, free: 7.582 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches