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.27/2.27, allocations: 390.5 MB / 398 MB, free: 10.94 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.001114/0.001114, allocations: 188.8 kB / 491.2 MB, free: 1.547 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.668/1.668, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0008754/0.0008753, allocations: 91.59 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.412e-05/1.414e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2622, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.923/1.185, allocations: 148.9 MB / 1.358 GB, free: 17.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/1.185, allocations: 79.81 kB / 1.358 GB, free: 17.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003345/1.189, allocations: 1.141 MB / 1.359 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.974e-06/1.189, allocations: 0 / 1.359 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.775e-06/1.189, allocations: 7.969 kB / 1.359 GB, free: 33.3 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.0002792/1.189, allocations: 377.9 kB / 1.359 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/1.189, allocations: 7.719 kB / 1.359 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/1.189, allocations: 90.75 kB / 1.359 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/1.189, allocations: 266.8 kB / 1.36 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/1.189, allocations: 150.6 kB / 1.36 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.069e-05/1.19, allocations: 161.7 kB / 1.36 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.598e-05/1.19, allocations: 154.5 kB / 1.36 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.758e-05/1.19, allocations: 106.5 kB / 1.36 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/1.19, allocations: 75.28 kB / 1.36 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/1.19, allocations: 154.4 kB / 1.36 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.8e-05/1.19, allocations: 153.2 kB / 1.361 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/1.19, allocations: 487 kB / 1.361 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.632e-05/1.19, allocations: 170.6 kB / 1.361 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/1.19, allocations: 80.14 kB / 1.361 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/1.19, allocations: 75.28 kB / 1.361 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/1.19, allocations: 113.8 kB / 1.361 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/1.19, allocations: 0 / 1.361 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.592e-05/1.19, allocations: 39 kB / 1.361 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/1.19, allocations: 55.28 kB / 1.362 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/1.191, allocations: 193.9 kB / 1.362 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/1.191, allocations: 25.7 kB / 1.362 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/1.191, allocations: 116.5 kB / 1.362 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/1.191, allocations: 0 / 1.362 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/1.191, allocations: 7.938 kB / 1.362 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.191, allocations: 327 kB / 1.362 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.345e-05/1.191, allocations: 44 kB / 1.362 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/1.191, allocations: 170.1 kB / 1.362 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004604/1.191, allocations: 106.8 kB / 1.362 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.191, allocations: 7.844 kB / 1.362 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006464/1.192, allocations: 259.5 kB / 1.363 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.192, allocations: 12.19 kB / 1.363 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.192, allocations: 3.344 kB / 1.363 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.192, allocations: 6.625 kB / 1.363 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/1.192, allocations: 46.45 kB / 1.363 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/1.192, allocations: 7.969 kB / 1.363 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.779e-05/1.192, allocations: 23.59 kB / 1.363 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/1.193, allocations: 13.97 kB / 1.363 GB, free: 29.8 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 0.0001099/1.193, allocations: 188.3 kB / 1.363 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/1.193, allocations: 120.1 kB / 1.363 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.258e-05/1.193, allocations: 117.9 kB / 1.363 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.339e-05/1.193, allocations: 177.9 kB / 1.363 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-05/1.193, allocations: 180.2 kB / 1.364 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.589e-05/1.193, allocations: 178.1 kB / 1.364 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/1.193, allocations: 420.9 kB / 1.364 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.838e-05/1.193, allocations: 104.9 kB / 1.364 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/1.193, allocations: 113.2 kB / 1.364 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-05/1.193, allocations: 176.3 kB / 1.365 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-05/1.193, allocations: 185.6 kB / 1.365 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-05/1.193, allocations: 176.3 kB / 1.365 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.263e-05/1.193, allocations: 185.5 kB / 1.365 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/1.194, allocations: 312.5 kB / 1.365 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/1.194, allocations: 190.5 kB / 1.366 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.012e-05/1.194, allocations: 185.4 kB / 1.366 GB, free: 26.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.568e-05/1.194, allocations: 105.6 kB / 1.366 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/1.194, allocations: 181 kB / 1.366 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/1.194, allocations: 108.3 kB / 1.366 GB, free: 26.36 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001156/1.194, allocations: 149.6 kB / 1.366 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.194, allocations: 0 / 1.366 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002905/1.194, allocations: 27.59 kB / 1.366 GB, free: 26.28 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.0001862/1.195, allocations: 179 kB / 1.366 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001554/1.195, allocations: 86.92 kB / 1.367 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.195, allocations: 3.781 kB / 1.367 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/1.195, allocations: 0 / 1.367 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/1.195, allocations: 0.5269 MB / 1.367 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/1.195, allocations: 226.2 kB / 1.367 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/1.196, allocations: 0.716 MB / 1.368 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.548e-05/1.196, allocations: 8.422 kB / 1.368 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.094e-05/1.196, allocations: 16.16 kB / 1.368 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.196, allocations: 0 / 1.368 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of Templates: time 0.002808/1.199, allocations: 0.7269 MB / 1.369 GB, free: 24.6 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