Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.429/1.429, allocations: 249.5 MB / 257 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009949/0.000995, allocations: 180.8 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008593/0.0008594, allocations: 95.88 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.003e-05/1.982e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2481, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8217/1.07, allocations: 131.5 MB / 1.014 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/1.07, allocations: 76.19 kB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002869/1.073, allocations: 1.114 MB / 1.015 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.033e-06/1.073, allocations: 0 / 1.015 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.376e-05/1.073, allocations: 0 / 1.015 GB, free: 5.301 MB / 0.6355 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.0003526/1.073, allocations: 381.4 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/1.074, allocations: 8.031 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/1.074, allocations: 91.09 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/1.074, allocations: 280.7 kB / 1.015 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.811e-05/1.074, allocations: 154.6 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.816e-05/1.074, allocations: 158.1 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.586e-05/1.074, allocations: 150.6 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.043e-05/1.074, allocations: 101 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.997e-05/1.074, allocations: 75.28 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.445e-05/1.074, allocations: 158.5 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.566e-05/1.074, allocations: 154.6 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/1.075, allocations: 480.9 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/1.075, allocations: 168.7 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/1.075, allocations: 82.67 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/1.075, allocations: 83.27 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/1.075, allocations: 105.8 kB / 1.017 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/1.075, allocations: 0 / 1.017 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 9.442e-05/1.075, allocations: 41.55 kB / 1.017 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/1.075, allocations: 54.14 kB / 1.017 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/1.075, allocations: 195.6 kB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/1.075, allocations: 25.7 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/1.075, allocations: 114.8 kB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/1.075, allocations: 0 / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-06/1.075, allocations: 0 / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.075, allocations: 326.8 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.26e-05/1.076, allocations: 44.02 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/1.076, allocations: 170.1 kB / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004732/1.076, allocations: 111.4 kB / 1.018 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/1.076, allocations: 0 / 1.018 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006951/1.077, allocations: 260 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/1.077, allocations: 10.19 kB / 1.019 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/1.077, allocations: 4 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/1.077, allocations: 15.92 kB / 1.019 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/1.077, allocations: 39.92 kB / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/1.077, allocations: 7.938 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/1.077, allocations: 19.78 kB / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.417e-05/1.077, allocations: 19.67 kB / 1.019 GB, free: 1.137 MB / 0.6355 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.0001055/1.077, allocations: 188.5 kB / 1.019 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.727e-05/1.077, allocations: 116.8 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.021e-05/1.078, allocations: 113.9 kB / 1.019 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.34e-05/1.078, allocations: 184.2 kB / 1.019 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.066e-05/1.078, allocations: 176.3 kB / 1.019 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.357e-05/1.078, allocations: 184.6 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/1.078, allocations: 420.6 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.974e-05/1.078, allocations: 105.8 kB / 1.02 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/1.078, allocations: 105 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.086e-05/1.078, allocations: 183.8 kB / 1.02 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.417e-05/1.078, allocations: 176.3 kB / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.426e-05/1.078, allocations: 184.2 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.872e-05/1.078, allocations: 184.2 kB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/1.079, allocations: 315.1 kB / 1.021 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.895e-05/1.079, allocations: 193.8 kB / 1.021 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/1.079, allocations: 184.2 kB / 1.022 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/1.079, allocations: 105 kB / 1.022 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/1.079, allocations: 188.1 kB / 1.022 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/1.079, allocations: 101 kB / 1.022 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001/1.079, allocations: 150.8 kB / 1.022 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.079, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003109/1.079, allocations: 27.94 kB / 1.022 GB, free: 13.47 MB / 0.6511 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.0001921/1.08, allocations: 182.5 kB / 1.022 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001678/1.08, allocations: 80.03 kB / 1.022 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.08, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/1.08, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/1.08, allocations: 0.535 MB / 1.023 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/1.08, allocations: 219.6 kB / 1.023 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/1.081, allocations: 0.7186 MB / 1.024 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.62e-05/1.081, allocations: 15.86 kB / 1.024 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/1.081, allocations: 11.44 kB / 1.024 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of SimCode: time 4.41e-07/1.081, allocations: 4 kB / 1.024 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of Templates: time 0.002795/1.084, allocations: 0.7269 MB / 1.025 GB, free: 10.95 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches