Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.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_9_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_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.362/2.362, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001006/0.001006, allocations: 188.1 kB / 492.3 MB, free: 0.6094 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.534/1.534, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.000995/0.000995, allocations: 84 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.527e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.282, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.085/1.367, allocations: 148.8 MB / 1.358 GB, free: 19.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/1.368, allocations: 75.81 kB / 1.358 GB, free: 19.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003461/1.371, allocations: 1.158 MB / 1.359 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.765e-06/1.371, allocations: 3.812 kB / 1.359 GB, free: 34.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.406e-06/1.371, allocations: 0 / 1.359 GB, free: 34.73 MB / 0.8386 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.0002767/1.371, allocations: 378.1 kB / 1.359 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/1.371, allocations: 15.53 kB / 1.359 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/1.371, allocations: 84.27 kB / 1.359 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/1.372, allocations: 269.6 kB / 1.36 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/1.372, allocations: 160 kB / 1.36 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/1.372, allocations: 165.7 kB / 1.36 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.102e-05/1.372, allocations: 101 kB / 1.36 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/1.372, allocations: 79.28 kB / 1.36 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/1.372, allocations: 150.6 kB / 1.36 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/1.372, allocations: 155.5 kB / 1.36 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.386e-05/1.372, allocations: 150.6 kB / 1.361 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002954/1.372, allocations: 0.5011 MB / 1.361 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.845e-05/1.372, allocations: 170.4 kB / 1.361 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.775e-05/1.372, allocations: 80.14 kB / 1.361 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/1.372, allocations: 75.28 kB / 1.361 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/1.372, allocations: 116.8 kB / 1.361 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/1.372, allocations: 0 / 1.361 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.725e-05/1.373, allocations: 42.11 kB / 1.361 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/1.373, allocations: 131.6 kB / 1.362 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/1.373, allocations: 198.9 kB / 1.362 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/1.373, allocations: 33.45 kB / 1.362 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/1.373, allocations: 116.2 kB / 1.362 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/1.373, allocations: 0 / 1.362 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-06/1.373, allocations: 3.812 kB / 1.362 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001081/1.373, allocations: 326.2 kB / 1.362 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.836e-05/1.373, allocations: 48.69 kB / 1.362 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/1.373, allocations: 173.3 kB / 1.362 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/1.373, allocations: 77.7 kB / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.373, allocations: 7.891 kB / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003908/1.374, allocations: 236.8 kB / 1.363 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.374, allocations: 7.656 kB / 1.363 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.374, allocations: 3.812 kB / 1.363 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/1.374, allocations: 8.328 kB / 1.363 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/1.374, allocations: 44.34 kB / 1.363 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/1.374, allocations: 13.48 kB / 1.363 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.281e-05/1.374, allocations: 27.19 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/1.374, allocations: 12.94 kB / 1.363 GB, free: 31.11 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 9.758e-05/1.374, allocations: 193.2 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/1.374, allocations: 113.4 kB / 1.363 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/1.374, allocations: 118.9 kB / 1.363 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-05/1.374, allocations: 176.8 kB / 1.363 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.709e-05/1.375, allocations: 176.8 kB / 1.364 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.911e-05/1.375, allocations: 186 kB / 1.364 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/1.375, allocations: 436.8 kB / 1.364 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.614e-05/1.375, allocations: 109.2 kB / 1.364 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.878e-05/1.375, allocations: 108.8 kB / 1.364 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.427e-05/1.375, allocations: 176.8 kB / 1.365 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/1.375, allocations: 181.6 kB / 1.365 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.041e-05/1.375, allocations: 184.8 kB / 1.365 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.852e-05/1.375, allocations: 184.8 kB / 1.365 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/1.375, allocations: 312.7 kB / 1.365 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.297e-05/1.375, allocations: 194.5 kB / 1.366 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.248e-05/1.375, allocations: 189.2 kB / 1.366 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.465e-05/1.375, allocations: 109.5 kB / 1.366 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/1.376, allocations: 180.9 kB / 1.366 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.123e-05/1.376, allocations: 106.2 kB / 1.366 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001258/1.376, allocations: 151.6 kB / 1.366 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.873e-06/1.376, allocations: 0 / 1.366 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002814/1.376, allocations: 34.61 kB / 1.366 GB, free: 27.56 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.0001796/1.376, allocations: 185.6 kB / 1.367 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001595/1.376, allocations: 89.42 kB / 1.367 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.376, allocations: 0 / 1.367 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.826e-06/1.376, allocations: 4.688 kB / 1.367 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/1.377, allocations: 0.5266 MB / 1.367 GB, free: 26.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/1.377, allocations: 219.2 kB / 1.367 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/1.377, allocations: 0.7157 MB / 1.368 GB, free: 26 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.105e-05/1.377, allocations: 13.83 kB / 1.368 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/1.377, allocations: 16.42 kB / 1.368 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.378, allocations: 0 / 1.368 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of Templates: time 0.002978/1.38, allocations: 0.8317 MB / 1.369 GB, free: 25.86 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","../files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches