Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") [: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.19/1.19, allocations: 249.4 MB / 256.7 MB, free: 7.105 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.0009355/0.0009355, allocations: 177.3 kB / 316 MB, free: 3.562 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.047/1.047, allocations: 205.2 MB / 0.5667 GB, free: 15.67 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.0008515/0.0008514, allocations: 91.33 kB / 0.671 GB, free: 4.793 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.003e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1407, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4041/0.5448, allocations: 135.8 MB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.5451, allocations: 90.78 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01209/0.5572, allocations: 5.165 MB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.99e-05/0.5572, allocations: 11.98 kB / 1.022 GB, free: 14.7 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006901/0.5579, allocations: 0.5521 MB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.558, allocations: 8.031 kB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.521e-05/0.5581, allocations: 39.53 kB / 1.023 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.5584, allocations: 304.1 kB / 1.023 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.5585, allocations: 8 kB / 1.023 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.5585, allocations: 16 kB / 1.023 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002947/0.5588, allocations: 168.6 kB / 1.023 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.5592, allocations: 234.9 kB / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.5592, allocations: 0 / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.5592, allocations: 0 / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.5592, allocations: 12 kB / 1.024 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.5604, allocations: 1.06 MB / 1.025 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.5608, allocations: 200.2 kB / 1.025 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.561, allocations: 92.72 kB / 1.025 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.561, allocations: 2.938 kB / 1.025 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.561, allocations: 38.5 kB / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 1.182e-06/0.561, allocations: 224 / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0003279/0.5614, allocations: 180.6 kB / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.5614, allocations: 88.98 kB / 1.025 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.5616, allocations: 216 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.5616, allocations: 25.7 kB / 1.025 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.5617, allocations: 150.2 kB / 1.026 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.5618, allocations: 65.88 kB / 1.026 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.297e-06/0.5618, allocations: 0 / 1.026 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.5619, allocations: 333.1 kB / 1.026 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.085e-05/0.562, allocations: 59.31 kB / 1.026 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.5621, allocations: 94.17 kB / 1.026 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.5622, allocations: 64.55 kB / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5623, allocations: 0 / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002748/0.5625, allocations: 198.1 kB / 1.026 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.899e-05/0.5626, allocations: 185.2 kB / 1.027 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.5626, allocations: 0 / 1.027 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.5626, allocations: 4 kB / 1.027 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.5629, allocations: 59.89 kB / 1.027 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.5629, allocations: 0 / 1.027 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.5631, allocations: 39.39 kB / 1.027 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.5631, allocations: 4 kB / 1.027 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/0.5632, allocations: 7.984 kB / 1.027 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002224/0.5634, allocations: 136.3 kB / 1.027 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-06/0.5634, allocations: 3.984 kB / 1.027 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-06/0.5634, allocations: 4 kB / 1.027 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.5636, allocations: 35.98 kB / 1.027 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.5636, allocations: 8.031 kB / 1.027 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.5638, allocations: 31.81 kB / 1.027 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.5638, allocations: 7.375 kB / 1.027 GB, free: 10.59 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: 1 (conRadSup.conPIDRad.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.341e-05/0.5639, allocations: 112.8 kB / 1.027 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/0.5639, allocations: 23.72 kB / 1.027 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/0.5643, allocations: 192.6 kB / 1.027 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5643, allocations: 4 kB / 1.027 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5643, allocations: 0 / 1.027 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.5643, allocations: 3.984 kB / 1.027 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/0.5649, allocations: 0.5793 MB / 1.028 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5649, allocations: 0 / 1.028 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/0.5652, allocations: 59.19 kB / 1.028 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.5652, allocations: 7.938 kB / 1.028 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.5652, allocations: 0 / 1.028 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.5652, allocations: 4 kB / 1.028 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.5652, allocations: 3.984 kB / 1.028 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004323/0.5656, allocations: 395.2 kB / 1.028 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.663e-05/0.5657, allocations: 99.95 kB / 1.028 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/0.5658, allocations: 7.938 kB / 1.028 GB, free: 9.297 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.566, allocations: 32.03 kB / 1.028 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.566, allocations: 11.55 kB / 1.028 GB, free: 9.258 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.566, allocations: 4 kB / 1.028 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001385/0.5662, allocations: 169.2 kB / 1.029 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003495/0.5665, allocations: 91.53 kB / 1.029 GB, free: 9.031 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conRadSup.conPIDRad.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001219/0.5667, allocations: 111.2 kB / 1.029 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003588/0.567, allocations: 241.5 kB / 1.029 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.567, allocations: 0 / 1.029 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.5672, allocations: 83.8 kB / 1.029 GB, free: 8.711 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.5675, allocations: 44.16 kB / 1.029 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006944/0.5682, allocations: 348.3 kB / 1.029 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/0.5686, allocations: 0.7914 MB / 1.03 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of SimCode: time 2.11e-07/0.5686, allocations: 0 / 1.03 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of Templates: time 0.006394/0.575, allocations: 3.456 MB / 1.034 GB, free: 4.133 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches