Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.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.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") [: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 2.072/2.072, allocations: 387.2 MB / 394.5 MB, free: 4.559 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 180.6 kB / 487 MB, free: 11.07 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 221.3 MB / 0.7819 GB, free: 4.016 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 100.9 kB / 0.9213 GB, free: 5.117 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 7.334e-06/7.354e-06, allocations: 4 kB / 1.066 GB, free: 141.1 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3008, allocations: 142.3 MB / 1.205 GB, free: 14.79 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.84/5.14, allocations: 1.96 GB / 3.165 GB, free: 227.2 MB / 1.143 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/5.141, allocations: 91.14 kB / 3.165 GB, free: 227.2 MB / 1.143 GB Notification: Performance of FrontEnd: time 7.045/12.19, allocations: 2.091 GB / 5.256 GB, free: 161.8 MB / 1.19 GB Notification: Performance of Transformations before backend: time 0.0002532/12.19, allocations: 55.5 kB / 5.256 GB, free: 161.8 MB / 1.19 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.006853/12.19, allocations: 2.404 MB / 5.258 GB, free: 160.8 MB / 1.19 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/12.19, allocations: 11.75 kB / 5.258 GB, free: 160.8 MB / 1.19 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006375/12.2, allocations: 0.9356 MB / 5.259 GB, free: 160.7 MB / 1.19 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006954/12.21, allocations: 2.256 MB / 5.262 GB, free: 160.3 MB / 1.19 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.907e-05/12.21, allocations: 49.92 kB / 5.262 GB, free: 160.3 MB / 1.19 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/12.21, allocations: 84.44 kB / 5.262 GB, free: 160.3 MB / 1.19 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002301/12.21, allocations: 1.17 MB / 5.263 GB, free: 160.3 MB / 1.19 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002288/12.21, allocations: 1.372 MB / 5.264 GB, free: 160.1 MB / 1.19 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/12.21, allocations: 0 / 5.264 GB, free: 160.1 MB / 1.19 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/12.21, allocations: 3.156 kB / 5.264 GB, free: 160.1 MB / 1.19 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.826e-05/12.21, allocations: 56.39 kB / 5.264 GB, free: 160.1 MB / 1.19 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01314/12.22, allocations: 7.797 MB / 5.272 GB, free: 156 MB / 1.19 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008896/12.23, allocations: 0.5728 MB / 5.272 GB, free: 156 MB / 1.19 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006734/12.23, allocations: 0.4911 MB / 5.273 GB, free: 155.9 MB / 1.19 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/12.23, allocations: 0.9185 MB / 5.274 GB, free: 155 MB / 1.19 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007815/12.23, allocations: 0.5074 MB / 5.274 GB, free: 154.9 MB / 1.19 GB Notification: Performance of pre-optimization done (n=86): time 4.017e-06/12.23, allocations: 0 / 5.274 GB, free: 154.9 MB / 1.19 GB Notification: Performance of matching and sorting (n=86): time 0.003718/12.23, allocations: 1.149 MB / 5.275 GB, free: 154.8 MB / 1.19 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.968e-05/12.23, allocations: 113.9 kB / 5.275 GB, free: 154.7 MB / 1.19 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/12.23, allocations: 1.215 MB / 5.277 GB, free: 154.5 MB / 1.19 GB Notification: Performance of collectPreVariables (initialization): time 9.725e-05/12.23, allocations: 25.7 kB / 5.277 GB, free: 154.5 MB / 1.19 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005126/12.23, allocations: 0.5942 MB / 5.277 GB, free: 154.2 MB / 1.19 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003327/12.23, allocations: 296.7 kB / 5.278 GB, free: 154.1 MB / 1.19 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/12.23, allocations: 0 / 5.278 GB, free: 154.1 MB / 1.19 GB Notification: Performance of setup shared object (initialization): time 0.0001139/12.24, allocations: 345.5 kB / 5.278 GB, free: 153.8 MB / 1.19 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005434/12.24, allocations: 358.4 kB / 5.278 GB, free: 153.8 MB / 1.19 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007188/12.24, allocations: 0.6927 MB / 5.279 GB, free: 153.4 MB / 1.19 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/12.24, allocations: 0.5383 MB / 5.279 GB, free: 153.4 MB / 1.19 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/12.24, allocations: 5.469 kB / 5.279 GB, free: 153.4 MB / 1.19 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002465/12.24, allocations: 1.258 MB / 5.281 GB, free: 153.2 MB / 1.19 GB Notification: Performance of prepare postOptimizeDAE: time 0.001078/12.24, allocations: 3.354 MB / 5.284 GB, free: 149.7 MB / 1.19 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/12.24, allocations: 13.97 kB / 5.284 GB, free: 149.7 MB / 1.19 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.216e-05/12.24, allocations: 13.94 kB / 5.284 GB, free: 149.7 MB / 1.19 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/12.24, allocations: 277.4 kB / 5.284 GB, free: 149.7 MB / 1.19 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.323e-05/12.24, allocations: 20.5 kB / 5.284 GB, free: 149.7 MB / 1.19 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/12.24, allocations: 195.3 kB / 5.284 GB, free: 149.7 MB / 1.19 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/12.24, allocations: 54.06 kB / 5.284 GB, free: 149.7 MB / 1.19 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/12.24, allocations: 3.906 kB / 5.284 GB, free: 149.7 MB / 1.19 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002126/12.25, allocations: 1.025 MB / 5.285 GB, free: 149.7 MB / 1.19 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/12.25, allocations: 10.97 kB / 5.285 GB, free: 149.7 MB / 1.19 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/12.25, allocations: 15.66 kB / 5.285 GB, free: 149.7 MB / 1.19 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/12.25, allocations: 270.4 kB / 5.286 GB, free: 149.7 MB / 1.19 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/12.25, allocations: 17.5 kB / 5.286 GB, free: 149.7 MB / 1.19 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/12.25, allocations: 182.7 kB / 5.286 GB, free: 149.6 MB / 1.19 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/12.25, allocations: 53.73 kB / 5.286 GB, free: 149.6 MB / 1.19 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * 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.0003484/12.25, allocations: 140.5 kB / 5.286 GB, free: 149.5 MB / 1.19 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002965/12.25, allocations: 174 kB / 5.286 GB, free: 149.4 MB / 1.19 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/12.25, allocations: 1.115 MB / 5.287 GB, free: 149.4 MB / 1.19 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/12.25, allocations: 7.688 kB / 5.287 GB, free: 149.4 MB / 1.19 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/12.25, allocations: 3.969 kB / 5.287 GB, free: 149.4 MB / 1.19 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001629/12.26, allocations: 1.164 MB / 5.289 GB, free: 148.9 MB / 1.19 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005827/12.26, allocations: 2.517 MB / 5.291 GB, free: 148.6 MB / 1.19 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/12.26, allocations: 0 / 5.291 GB, free: 148.6 MB / 1.19 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/12.26, allocations: 195.8 kB / 5.291 GB, free: 148.6 MB / 1.19 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000238/12.26, allocations: 40.2 kB / 5.291 GB, free: 148.5 MB / 1.19 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.846e-05/12.26, allocations: 21.62 kB / 5.291 GB, free: 148.5 MB / 1.19 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/12.26, allocations: 1.386 MB / 5.293 GB, free: 147.3 MB / 1.19 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/12.26, allocations: 3.75 kB / 5.293 GB, free: 147.3 MB / 1.19 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003022/12.27, allocations: 1.667 MB / 5.294 GB, free: 147 MB / 1.19 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/12.27, allocations: 359.4 kB / 5.295 GB, free: 146.8 MB / 1.19 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006128/12.27, allocations: 2.906 kB / 5.295 GB, free: 146.8 MB / 1.19 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/12.27, allocations: 128.1 kB / 5.295 GB, free: 146.8 MB / 1.19 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/12.27, allocations: 51.53 kB / 5.295 GB, free: 146.8 MB / 1.19 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/12.27, allocations: 35.45 kB / 5.295 GB, free: 146.8 MB / 1.19 GB Notification: Performance of sort global known variables: time 0.002197/12.27, allocations: 0.9144 MB / 5.296 GB, free: 146.7 MB / 1.19 GB Notification: Performance of remove unused functions: time 0.005866/12.28, allocations: 1.16 MB / 5.297 GB, free: 146.6 MB / 1.19 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007642/12.29, allocations: 3.701 MB / 5.3 GB, free: 145.2 MB / 1.19 GB Notification: Performance of simCode: created initialization part: time 0.003871/12.29, allocations: 1.525 MB / 5.302 GB, free: 145.1 MB / 1.19 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/12.29, allocations: 0 / 5.302 GB, free: 145.1 MB / 1.19 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/12.29, allocations: 0.5223 MB / 5.302 GB, free: 145 MB / 1.19 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00481/12.3, allocations: 0.7028 MB / 5.303 GB, free: 145 MB / 1.19 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/12.31, allocations: 3.01 MB / 5.306 GB, free: 144.3 MB / 1.19 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003064/12.31, allocations: 1.685 MB / 5.308 GB, free: 143.6 MB / 1.19 GB Notification: Performance of SimCode: time 2.715e-06/12.31, allocations: 0 / 5.308 GB, free: 143.6 MB / 1.19 GB Notification: Performance of Templates: time 0.09732/12.41, allocations: 51.76 MB / 5.358 GB, free: 142.1 MB / 1.19 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches