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.294/2.294, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001131/0.001131, allocations: 181.2 kB / 498.1 MB, free: 5.699 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.578/1.578, allocations: 223.2 MB / 0.7948 GB, free: 17.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.0009114/0.0009114, allocations: 102.8 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.00038, allocations: 12.12 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3257, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2007/0.5264, allocations: 148.8 MB / 1.368 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/0.5269, allocations: 75.95 kB / 1.368 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003137/0.53, allocations: 1.15 MB / 1.369 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.404e-06/0.53, allocations: 0 / 1.369 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.5301, allocations: 4 kB / 1.369 GB, free: 11.97 MB / 0.8698 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.0004271/0.5305, allocations: 402.9 kB / 1.37 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.5305, allocations: 8.031 kB / 1.37 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.809e-05/0.5306, allocations: 91.09 kB / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.5308, allocations: 266.1 kB / 1.37 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.716e-05/0.5309, allocations: 162.6 kB / 1.37 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/0.531, allocations: 173.2 kB / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.696e-05/0.5311, allocations: 101 kB / 1.371 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.5311, allocations: 75.28 kB / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.748e-05/0.5312, allocations: 150.6 kB / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.909e-05/0.5313, allocations: 154.6 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.724e-05/0.5313, allocations: 150.6 kB / 1.371 GB, free: 10.17 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.5317, allocations: 0.5094 MB / 1.372 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.5318, allocations: 169.1 kB / 1.372 GB, free: 9.438 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.5318, allocations: 75.28 kB / 1.372 GB, free: 9.363 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.212e-05/0.5319, allocations: 109.8 kB / 1.372 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.5319, allocations: 0 / 1.372 GB, free: 9.246 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 9.103e-05/0.532, allocations: 41.55 kB / 1.372 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.5321, allocations: 130.6 kB / 1.372 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.5323, allocations: 210.1 kB / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.5324, allocations: 29.7 kB / 1.372 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.709e-05/0.5324, allocations: 111.8 kB / 1.372 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/0.5325, allocations: 8 kB / 1.372 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-06/0.5325, allocations: 4 kB / 1.372 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5326, allocations: 326.8 kB / 1.373 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.907e-05/0.5327, allocations: 44.33 kB / 1.373 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.5329, allocations: 169 kB / 1.373 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.533, allocations: 79.84 kB / 1.373 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.533, allocations: 4 kB / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003699/0.5334, allocations: 237.3 kB / 1.373 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.5334, allocations: 8 kB / 1.373 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5334, allocations: 7.938 kB / 1.373 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.5334, allocations: 8 kB / 1.373 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.5336, allocations: 47.91 kB / 1.373 GB, free: 7.699 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.5336, allocations: 8 kB / 1.373 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.691e-05/0.5337, allocations: 15.75 kB / 1.373 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.5338, allocations: 16 kB / 1.373 GB, free: 7.66 MB / 0.8698 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 () * Number of clocked 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 0.0001334/0.5339, allocations: 226.8 kB / 1.374 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.528e-05/0.534, allocations: 112.8 kB / 1.374 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/0.534, allocations: 117.5 kB / 1.374 GB, free: 7.191 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-05/0.5341, allocations: 180.8 kB / 1.374 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.176e-05/0.5342, allocations: 180.2 kB / 1.374 GB, free: 6.824 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.737e-05/0.5342, allocations: 180.3 kB / 1.374 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.5345, allocations: 445.1 kB / 1.375 GB, free: 6.148 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.16e-05/0.5345, allocations: 104.9 kB / 1.375 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.5346, allocations: 101 kB / 1.375 GB, free: 5.934 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.213e-05/0.5346, allocations: 184.2 kB / 1.375 GB, free: 5.746 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.206e-05/0.5347, allocations: 180.3 kB / 1.375 GB, free: 5.562 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-05/0.5348, allocations: 192.2 kB / 1.375 GB, free: 5.367 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.792e-05/0.5349, allocations: 176.3 kB / 1.376 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.535, allocations: 315.6 kB / 1.376 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.735e-05/0.5351, allocations: 197.8 kB / 1.376 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.634e-05/0.5352, allocations: 184.2 kB / 1.376 GB, free: 4.449 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.5353, allocations: 101 kB / 1.376 GB, free: 4.344 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.159e-05/0.5353, allocations: 180.3 kB / 1.377 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/0.5354, allocations: 108.9 kB / 1.377 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001161/0.5355, allocations: 155.2 kB / 1.377 GB, free: 3.895 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5355, allocations: 0 / 1.377 GB, free: 3.895 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003067/0.5358, allocations: 20 kB / 1.377 GB, free: 3.875 MB / 0.8698 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 () * Number of clocked 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.0001961/0.536, allocations: 190.2 kB / 1.377 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001756/0.5362, allocations: 92.58 kB / 1.377 GB, free: 3.586 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5362, allocations: 1.312 kB / 1.377 GB, free: 3.586 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.845e-06/0.5362, allocations: 0 / 1.377 GB, free: 3.586 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.5366, allocations: 0.5418 MB / 1.378 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.537, allocations: 308.6 kB / 1.378 GB, free: 2.707 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.5373, allocations: 0.7121 MB / 1.379 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.464e-05/0.5374, allocations: 11.98 kB / 1.379 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.5374, allocations: 19.42 kB / 1.379 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of SimCode: time 2.01e-07/0.5374, allocations: 0 / 1.379 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of Templates: time 0.003101/0.5405, allocations: 0.8165 MB / 1.379 GB, free: 1.121 MB / 0.8698 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