Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conRadSup.TRoo|conRadSup.TSup|conRadSup.yVal",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.738/1.738, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.0009926/0.0009927, allocations: 189.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.096/1.096, allocations: 221.3 MB / 0.7819 GB, free: 1.309 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.0008687/0.0008688, allocations: 97.58 kB / 0.9213 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.851e-06/5.871e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1661, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4605/0.6266, allocations: 151 MB / 1.353 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.6269, allocations: 87.31 kB / 1.353 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01029/0.6372, allocations: 4.163 MB / 1.357 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.6372, allocations: 5.719 kB / 1.357 GB, free: 15.7 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006044/0.6378, allocations: 0.5351 MB / 1.357 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.6379, allocations: 9.094 kB / 1.357 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.952e-05/0.6379, allocations: 36.72 kB / 1.357 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.6382, allocations: 291.8 kB / 1.358 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.6383, allocations: 9.594 kB / 1.358 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.6383, allocations: 14.16 kB / 1.358 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002955/0.6386, allocations: 160.7 kB / 1.358 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.639, allocations: 228.8 kB / 1.358 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.639, allocations: 0 / 1.358 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.639, allocations: 0.75 kB / 1.358 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.587e-06/0.639, allocations: 5.906 kB / 1.358 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.6401, allocations: 0.8849 MB / 1.359 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.6404, allocations: 258 kB / 1.359 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.6405, allocations: 95.38 kB / 1.359 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.6406, allocations: 3.453 kB / 1.359 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.6407, allocations: 133.2 kB / 1.359 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=19): time 1.173e-06/0.6407, allocations: 0 / 1.359 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19): time 0.0002816/0.641, allocations: 168.6 kB / 1.36 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.6411, allocations: 105.2 kB / 1.36 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.6412, allocations: 198.4 kB / 1.36 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.6413, allocations: 26.55 kB / 1.36 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.6413, allocations: 155.7 kB / 1.36 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.6413, allocations: 56.36 kB / 1.36 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.6414, allocations: 0 / 1.36 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.843e-05/0.6414, allocations: 334.1 kB / 1.36 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.984e-05/0.6415, allocations: 52.22 kB / 1.36 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.6416, allocations: 91.66 kB / 1.361 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.902e-05/0.6417, allocations: 66.41 kB / 1.361 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6417, allocations: 0.5312 kB / 1.361 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002594/0.642, allocations: 178.1 kB / 1.361 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.642, allocations: 180.2 kB / 1.361 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.6421, allocations: 5.375 kB / 1.361 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.6421, allocations: 5.656 kB / 1.361 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.6423, allocations: 52.25 kB / 1.361 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.6423, allocations: 1.969 kB / 1.361 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.6425, allocations: 42.12 kB / 1.361 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.6425, allocations: 13.2 kB / 1.361 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.269e-06/0.6425, allocations: 7.281 kB / 1.361 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002222/0.6428, allocations: 133.9 kB / 1.361 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-06/0.6428, allocations: 0.625 kB / 1.361 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-06/0.6428, allocations: 1.25 kB / 1.361 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.643, allocations: 41.7 kB / 1.361 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.643, allocations: 2.016 kB / 1.361 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.6432, allocations: 35.02 kB / 1.361 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.6432, allocations: 4.578 kB / 1.361 GB, free: 13.28 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 5.257e-05/0.6432, allocations: 107.9 kB / 1.361 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.6433, allocations: 22.83 kB / 1.361 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003288/0.6436, allocations: 187.5 kB / 1.362 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.6436, allocations: 6.938 kB / 1.362 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.6436, allocations: 0 / 1.362 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.6436, allocations: 5.797 kB / 1.362 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.6442, allocations: 0.5714 MB / 1.362 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.6442, allocations: 0 / 1.362 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.6445, allocations: 55.91 kB / 1.362 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.6445, allocations: 4 kB / 1.362 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.6445, allocations: 0.7969 kB / 1.362 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.6445, allocations: 8.703 kB / 1.362 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6445, allocations: 4 kB / 1.362 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003321/0.6448, allocations: 378.4 kB / 1.363 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.6449, allocations: 101.9 kB / 1.363 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.6449, allocations: 4.656 kB / 1.363 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.6451, allocations: 30.39 kB / 1.363 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.6452, allocations: 9.203 kB / 1.363 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.6452, allocations: 7.844 kB / 1.363 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.448e-05/0.6453, allocations: 159.1 kB / 1.363 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003373/0.6456, allocations: 83.53 kB / 1.363 GB, free: 12.05 MB / 0.8073 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: 1 ($whenCondition1) * 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 9.005e-05/0.6457, allocations: 110.5 kB / 1.363 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002967/0.646, allocations: 216 kB / 1.363 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.646, allocations: 4 kB / 1.363 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.115e-05/0.6461, allocations: 78.22 kB / 1.363 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.6464, allocations: 39.91 kB / 1.363 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005892/0.647, allocations: 339.1 kB / 1.364 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.6473, allocations: 0.7873 MB / 1.364 GB, free: 26.66 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.6473, allocations: 0 / 1.364 GB, free: 26.66 MB / 0.823 GB Notification: Performance of Templates: time 0.005385/0.6527, allocations: 3.118 MB / 1.368 GB, free: 24.36 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.csv","../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches