Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [: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.344/1.344, 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.00114/0.00114, allocations: 177.2 kB / 316 MB, free: 3.516 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.42/1.42, allocations: 205.1 MB / 0.5667 GB, free: 15.54 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.0008555/0.0008556, allocations: 83.34 kB / 0.671 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.687e-06/8.717e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1842, allocations: 106.3 MB / 0.8846 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4931/0.6774, allocations: 131.5 MB / 1.013 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/0.6778, allocations: 71.39 kB / 1.013 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002873/0.6807, allocations: 0.8113 MB / 1.014 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.375e-06/0.6807, allocations: 4 kB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003336/0.6811, allocations: 381.5 kB / 1.014 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.6811, allocations: 8.781 kB / 1.014 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.95e-05/0.6812, allocations: 91.09 kB / 1.014 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.6814, allocations: 266.1 kB / 1.015 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.628e-05/0.6815, allocations: 154.5 kB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/0.6815, allocations: 158.6 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.063e-05/0.6816, allocations: 150.6 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.041e-05/0.6817, allocations: 104.9 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.6817, allocations: 75.28 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.698e-05/0.6818, allocations: 158.5 kB / 1.015 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.663e-05/0.6818, allocations: 157.8 kB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.6822, allocations: 483 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.099e-05/0.6823, allocations: 172.9 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.6823, allocations: 82.58 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.6824, allocations: 75.28 kB / 1.016 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.6824, allocations: 109.8 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 2.164e-06/0.6824, allocations: 3.984 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.276e-05/0.6825, allocations: 41.52 kB / 1.016 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.6826, allocations: 51.41 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.6828, allocations: 203.8 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.6828, allocations: 29.64 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.6829, allocations: 105.7 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.6829, allocations: 4 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.6829, allocations: 0 / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.683, allocations: 325.3 kB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.06e-05/0.6831, allocations: 43.72 kB / 1.017 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.6833, allocations: 174.6 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005344/0.6838, allocations: 118.5 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.6838, allocations: 4 kB / 1.017 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007572/0.6846, allocations: 270.1 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.6846, allocations: 4 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.6846, allocations: 4 kB / 1.018 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.6846, allocations: 8 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.6848, allocations: 43.42 kB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.6848, allocations: 12.69 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.948e-05/0.6849, allocations: 19.69 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.6849, allocations: 12 kB / 1.018 GB, free: 2.16 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * 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 9.687e-05/0.685, allocations: 195.5 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.754e-05/0.6851, allocations: 112.8 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.077e-05/0.6852, allocations: 116.9 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.076e-05/0.6852, allocations: 176.3 kB / 1.018 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.225e-05/0.6853, allocations: 180.2 kB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.136e-05/0.6854, allocations: 180.3 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.6856, allocations: 424.4 kB / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.02e-05/0.6856, allocations: 112.9 kB / 1.019 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.003e-05/0.6857, allocations: 101 kB / 1.019 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.03e-05/0.6858, allocations: 179.6 kB / 1.019 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-05/0.6858, allocations: 184.2 kB / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.107e-05/0.6859, allocations: 180.3 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-05/0.686, allocations: 184.2 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001333/0.6861, allocations: 308.8 kB / 1.02 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/0.6862, allocations: 201.8 kB / 1.02 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.215e-05/0.6863, allocations: 176.3 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-05/0.6864, allocations: 112.3 kB / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.6865, allocations: 180.2 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.6865, allocations: 104.9 kB / 1.021 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001063/0.6866, allocations: 153.2 kB / 1.021 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002862/0.6869, allocations: 31.92 kB / 1.021 GB, free: 14.48 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001548/0.6871, allocations: 170.5 kB / 1.021 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.6872, allocations: 90.7 kB / 1.021 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6872, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.6872, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.6876, allocations: 0.526 MB / 1.022 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.6879, allocations: 226.6 kB / 1.022 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.6882, allocations: 0.7238 MB / 1.023 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.6882, allocations: 0 / 1.023 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of Templates: time 0.002531/0.6908, allocations: 0.7502 MB / 1.024 GB, free: 11.96 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches