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.BoilerReturn.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.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") [: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.164/1.164, allocations: 249.4 MB / 256.7 MB, free: 7 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.0009558/0.0009558, allocations: 192.4 kB / 316 MB, free: 3.539 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.021/1.021, allocations: 205.1 MB / 0.5667 GB, free: 15.63 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.0008341/0.0008341, allocations: 86.97 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.279e-06/5.3e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.137, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3945/0.5315, allocations: 135 MB / 1.016 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001793/0.5317, allocations: 90.08 kB / 1.016 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.009758/0.5415, allocations: 4.33 MB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.829e-05/0.5415, allocations: 11.94 kB / 1.021 GB, free: 15.55 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0005838/0.5421, allocations: 0.4905 MB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.5422, allocations: 8.031 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.044e-05/0.5422, allocations: 31.62 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003422/0.5426, allocations: 275.4 kB / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.5426, allocations: 8 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.5426, allocations: 11.91 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002351/0.5429, allocations: 131.9 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.5432, allocations: 200.5 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5432, allocations: 0 / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.5432, allocations: 0 / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.5432, allocations: 8 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.5443, allocations: 0.9348 MB / 1.023 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.5446, allocations: 159.1 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.5447, allocations: 69.98 kB / 1.023 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.5448, allocations: 7.938 kB / 1.023 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.5448, allocations: 38.38 kB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.5448, allocations: 3.938 kB / 1.023 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0002697/0.5451, allocations: 139.1 kB / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.5451, allocations: 81.11 kB / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.5453, allocations: 188.8 kB / 1.023 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.5453, allocations: 25.7 kB / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.5454, allocations: 141.6 kB / 1.024 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.5454, allocations: 50.3 kB / 1.024 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.5454, allocations: 0 / 1.024 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.5456, allocations: 333.7 kB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/0.5456, allocations: 43.38 kB / 1.024 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.532e-05/0.5457, allocations: 71.94 kB / 1.024 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.65e-05/0.5458, allocations: 48.86 kB / 1.024 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5458, allocations: 8.031 kB / 1.024 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002219/0.546, allocations: 151.9 kB / 1.024 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.875e-05/0.5461, allocations: 177.4 kB / 1.024 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.5461, allocations: 0 / 1.024 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.5461, allocations: 7.906 kB / 1.024 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.5463, allocations: 47.94 kB / 1.024 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.5463, allocations: 0 / 1.024 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.5465, allocations: 27.92 kB / 1.024 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.5465, allocations: 7.875 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.47e-06/0.5465, allocations: 6.344 kB / 1.025 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001565/0.5467, allocations: 116.5 kB / 1.025 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-06/0.5467, allocations: 0 / 1.025 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/0.5467, allocations: 4 kB / 1.025 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.5468, allocations: 35.83 kB / 1.025 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-06/0.5469, allocations: 0 / 1.025 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.547, allocations: 19.98 kB / 1.025 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.547, allocations: 7.906 kB / 1.025 GB, free: 11.88 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 (conBoiRet.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.874e-05/0.5471, allocations: 108.9 kB / 1.025 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.5471, allocations: 15.81 kB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.5472, allocations: 31.73 kB / 1.025 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5472, allocations: 0 / 1.025 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5472, allocations: 3.938 kB / 1.025 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5472, allocations: 0 / 1.025 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.5477, allocations: 0.4918 MB / 1.025 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.5477, allocations: 7.875 kB / 1.025 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.5479, allocations: 36.02 kB / 1.025 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5479, allocations: 0 / 1.025 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.5479, allocations: 4 kB / 1.025 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5479, allocations: 0 / 1.025 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.5479, allocations: 3.984 kB / 1.025 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003358/0.5483, allocations: 335.9 kB / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.647e-05/0.5483, allocations: 92.83 kB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.5484, allocations: 0 / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.5485, allocations: 24.05 kB / 1.026 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.5486, allocations: 10.67 kB / 1.026 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.5486, allocations: 4 kB / 1.026 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001178/0.5487, allocations: 155.7 kB / 1.026 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003202/0.549, allocations: 71.53 kB / 1.026 GB, free: 10.62 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.0001103/0.5491, allocations: 103.4 kB / 1.026 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.5494, allocations: 181.6 kB / 1.026 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5494, allocations: 0 / 1.026 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.056e-05/0.5495, allocations: 60.61 kB / 1.026 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.5498, allocations: 35.64 kB / 1.026 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/0.5504, allocations: 290 kB / 1.027 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/0.5508, allocations: 0.7688 MB / 1.027 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.5508, allocations: 0 / 1.027 GB, free: 9.262 MB / 0.6511 GB Notification: Performance of Templates: time 0.005353/0.5561, allocations: 2.77 MB / 1.03 GB, free: 6.527 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches