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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.23/2.23, allocations: 393.5 MB / 408.4 MB, free: 11 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.001555/0.001555, allocations: 183.4 kB / 0.4902 GB, free: 2.258 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.575/1.575, allocations: 223.2 MB / 0.7992 GB, free: 15.68 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.001058/0.001058, allocations: 100.2 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003626, allocations: 8.906 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.337, allocations: 143 MB / 1.229 GB, free: 85.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.207/0.5441, allocations: 149.7 MB / 1.375 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.5445, allocations: 75.95 kB / 1.375 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.003175/0.5477, allocations: 1.146 MB / 1.377 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.454e-06/0.5477, allocations: 4 kB / 1.377 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.5477, allocations: 0 / 1.377 GB, free: 14.44 MB / 0.8855 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.0004538/0.5482, allocations: 414.8 kB / 1.377 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.5482, allocations: 8.562 kB / 1.377 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.683e-05/0.5483, allocations: 95.03 kB / 1.377 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.5486, allocations: 266 kB / 1.377 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-05/0.5486, allocations: 162.5 kB / 1.377 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.803e-05/0.5487, allocations: 160.5 kB / 1.378 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.5489, allocations: 101 kB / 1.378 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.5489, allocations: 75.28 kB / 1.378 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.486e-05/0.549, allocations: 154.6 kB / 1.378 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.558e-05/0.5491, allocations: 154.6 kB / 1.378 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.813e-05/0.5491, allocations: 162.4 kB / 1.378 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/0.5496, allocations: 0.4939 MB / 1.379 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.244e-05/0.5497, allocations: 169.1 kB / 1.379 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.5497, allocations: 79.28 kB / 1.379 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/0.5498, allocations: 109.8 kB / 1.379 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.5498, allocations: 0 / 1.379 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 0.0001132/0.5499, allocations: 45.53 kB / 1.379 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.55, allocations: 126.7 kB / 1.379 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/0.5502, allocations: 206.1 kB / 1.379 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.5503, allocations: 29.7 kB / 1.379 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.246e-05/0.5504, allocations: 119.8 kB / 1.38 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-06/0.5504, allocations: 0 / 1.38 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-06/0.5504, allocations: 8 kB / 1.38 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5505, allocations: 322.8 kB / 1.38 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.5506, allocations: 48.33 kB / 1.38 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.5508, allocations: 175.2 kB / 1.38 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.5509, allocations: 75.89 kB / 1.38 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5509, allocations: 4 kB / 1.38 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004253/0.5514, allocations: 237.5 kB / 1.38 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.5514, allocations: 8.125 kB / 1.38 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.5514, allocations: 8 kB / 1.38 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.5515, allocations: 4 kB / 1.38 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.5516, allocations: 43.92 kB / 1.38 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.5516, allocations: 7.984 kB / 1.38 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.5518, allocations: 23.78 kB / 1.38 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.5518, allocations: 15.98 kB / 1.38 GB, free: 10.11 MB / 0.8855 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.0001614/0.552, allocations: 224.9 kB / 1.381 GB, free: 9.883 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.5521, allocations: 120.7 kB / 1.381 GB, free: 9.758 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.883e-05/0.5521, allocations: 109.5 kB / 1.381 GB, free: 9.645 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.768e-05/0.5522, allocations: 180.2 kB / 1.381 GB, free: 9.461 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.845e-05/0.5523, allocations: 180.2 kB / 1.381 GB, free: 9.277 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.917e-05/0.5523, allocations: 184.3 kB / 1.381 GB, free: 9.09 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002603/0.5526, allocations: 437.1 kB / 1.382 GB, free: 8.605 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.012e-05/0.5526, allocations: 108.9 kB / 1.382 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.5527, allocations: 108.9 kB / 1.382 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.689e-05/0.5528, allocations: 176.3 kB / 1.382 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.134e-05/0.5529, allocations: 176.3 kB / 1.382 GB, free: 8.02 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-05/0.5529, allocations: 184.2 kB / 1.383 GB, free: 7.832 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-05/0.553, allocations: 184.3 kB / 1.383 GB, free: 7.645 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.5532, allocations: 315.6 kB / 1.383 GB, free: 7.312 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.5533, allocations: 193.9 kB / 1.383 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.292e-05/0.5534, allocations: 192.2 kB / 1.383 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.236e-05/0.5535, allocations: 108.9 kB / 1.384 GB, free: 6.789 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.796e-05/0.5536, allocations: 188.2 kB / 1.384 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/0.5536, allocations: 101 kB / 1.384 GB, free: 6.492 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001326/0.5538, allocations: 156.6 kB / 1.384 GB, free: 6.34 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5538, allocations: 0 / 1.384 GB, free: 6.34 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003269/0.5541, allocations: 35.92 kB / 1.384 GB, free: 6.305 MB / 0.8855 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.000181/0.5543, allocations: 179.3 kB / 1.384 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.5545, allocations: 92.09 kB / 1.384 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5545, allocations: 0 / 1.384 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.201e-06/0.5545, allocations: 7.938 kB / 1.384 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.5549, allocations: 0.5244 MB / 1.385 GB, free: 5.492 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004932/0.5554, allocations: 305.6 kB / 1.385 GB, free: 5.164 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.5557, allocations: 0.716 MB / 1.386 GB, free: 4.422 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.448e-05/0.5558, allocations: 11.98 kB / 1.386 GB, free: 4.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.5558, allocations: 11.44 kB / 1.386 GB, free: 4.398 MB / 0.8855 GB Notification: Performance of SimCode: time 3.5e-07/0.5558, allocations: 0 / 1.386 GB, free: 4.398 MB / 0.8855 GB Notification: Performance of Templates: time 0.003291/0.5591, allocations: 0.822 MB / 1.387 GB, free: 3.578 MB / 0.8855 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