Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.695/1.695, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.0009023/0.0009024, allocations: 177.3 kB / 490.8 MB, free: 1.922 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.059/1.059, allocations: 221.4 MB / 0.7863 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007974/0.0007975, allocations: 83.42 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.488e-06/4.508e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1641, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4435/0.6076, allocations: 148.8 MB / 1.357 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001768/0.6078, allocations: 71.88 kB / 1.357 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.002266/0.6101, allocations: 0.8458 MB / 1.358 GB, free: 17.45 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.6101, allocations: 2.125 kB / 1.358 GB, free: 17.45 MB / 0.823 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.0002352/0.6104, allocations: 372.4 kB / 1.358 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.6104, allocations: 13.25 kB / 1.358 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.6105, allocations: 90.03 kB / 1.358 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.6106, allocations: 270 kB / 1.359 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.626e-05/0.6106, allocations: 150.6 kB / 1.359 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.896e-05/0.6107, allocations: 156 kB / 1.359 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.327e-05/0.6107, allocations: 157 kB / 1.359 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.189e-05/0.6108, allocations: 108.1 kB / 1.359 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.6108, allocations: 75.28 kB / 1.359 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.6109, allocations: 151.4 kB / 1.359 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.263e-05/0.6109, allocations: 155.5 kB / 1.359 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/0.6111, allocations: 480.4 kB / 1.36 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.656e-05/0.6112, allocations: 174.3 kB / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.347e-05/0.6112, allocations: 81.33 kB / 1.36 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.63e-05/0.6113, allocations: 75.94 kB / 1.36 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.6113, allocations: 111 kB / 1.36 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.6113, allocations: 0 / 1.36 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.25e-05/0.6114, allocations: 48.95 kB / 1.36 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.148e-05/0.6114, allocations: 51.41 kB / 1.36 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.6116, allocations: 199.5 kB / 1.361 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.6116, allocations: 25.7 kB / 1.361 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.6117, allocations: 106.3 kB / 1.361 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-06/0.6117, allocations: 1.062 kB / 1.361 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-06/0.6117, allocations: 0 / 1.361 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.6118, allocations: 327.4 kB / 1.361 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.583e-05/0.6118, allocations: 48.61 kB / 1.361 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-05/0.612, allocations: 174.4 kB / 1.361 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004522/0.6124, allocations: 120.2 kB / 1.361 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.6124, allocations: 1.062 kB / 1.361 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006637/0.6131, allocations: 267.5 kB / 1.362 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/0.6131, allocations: 5.531 kB / 1.362 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.6131, allocations: 5.375 kB / 1.362 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.6131, allocations: 7.031 kB / 1.362 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.6133, allocations: 51.12 kB / 1.362 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.6133, allocations: 11.47 kB / 1.362 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.846e-05/0.6134, allocations: 18.34 kB / 1.362 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.6134, allocations: 16.03 kB / 1.362 GB, free: 29.95 MB / 0.8386 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 7.277e-05/0.6135, allocations: 189.6 kB / 1.362 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/0.6136, allocations: 118.1 kB / 1.362 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.755e-05/0.6136, allocations: 112.5 kB / 1.362 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.983e-05/0.6136, allocations: 181.9 kB / 1.362 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.684e-05/0.6137, allocations: 185.5 kB / 1.362 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.505e-05/0.6137, allocations: 178.1 kB / 1.363 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.6139, allocations: 413.1 kB / 1.363 GB, free: 28.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-05/0.6139, allocations: 110.6 kB / 1.363 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.614, allocations: 109.7 kB / 1.363 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.536e-05/0.614, allocations: 178.1 kB / 1.363 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.6141, allocations: 182.3 kB / 1.364 GB, free: 27.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.557e-05/0.6141, allocations: 178.1 kB / 1.364 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.632e-05/0.6142, allocations: 184.8 kB / 1.364 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.122e-05/0.6142, allocations: 317.5 kB / 1.364 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.6143, allocations: 190.7 kB / 1.364 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.566e-05/0.6144, allocations: 185.8 kB / 1.365 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.6144, allocations: 106 kB / 1.365 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.6145, allocations: 178.4 kB / 1.365 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.6145, allocations: 110.6 kB / 1.365 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.503e-05/0.6146, allocations: 150 kB / 1.365 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002581/0.6149, allocations: 25.97 kB / 1.365 GB, free: 26.43 MB / 0.8386 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.0001108/0.615, allocations: 182.7 kB / 1.365 GB, free: 26.26 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.6151, allocations: 86.34 kB / 1.365 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.6151, allocations: 0.5 kB / 1.365 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.21e-07/0.6152, allocations: 4 kB / 1.365 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.6154, allocations: 0.5211 MB / 1.366 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.6156, allocations: 230.7 kB / 1.366 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.6159, allocations: 0.7258 MB / 1.367 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/0.6159, allocations: 0 / 1.367 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of Templates: time 0.002225/0.6181, allocations: 0.7427 MB / 1.368 GB, free: 24.76 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches