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.42/1.42, allocations: 249.3 MB / 261.8 MB, free: 5.871 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.001077/0.001077, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.0008239/0.0008236, allocations: 86.47 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.186e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2194, allocations: 106.3 MB / 0.8918 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7637/0.9831, allocations: 131.2 MB / 1.02 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.9834, allocations: 77.27 kB / 1.02 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002893/0.9863, allocations: 1.127 MB / 1.021 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9863, allocations: 0 / 1.021 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.9863, allocations: 4 kB / 1.021 GB, free: 2.5 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.0003471/0.9867, allocations: 384.9 kB / 1.021 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.9867, allocations: 8.031 kB / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.286e-05/0.9868, allocations: 91.09 kB / 1.022 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.987, allocations: 276.9 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.329e-05/0.9871, allocations: 154.6 kB / 1.022 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.516e-05/0.9872, allocations: 158.3 kB / 1.022 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.293e-05/0.9873, allocations: 109 kB / 1.022 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.343e-05/0.9873, allocations: 79.22 kB / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.166e-05/0.9874, allocations: 150.6 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.069e-05/0.9875, allocations: 154.5 kB / 1.023 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/0.9876, allocations: 153.7 kB / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.988, allocations: 0.5024 MB / 1.023 GB, free: 208 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.9881, allocations: 165.1 kB / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.9882, allocations: 84.08 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.9883, allocations: 79.09 kB / 1.024 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.138e-05/0.9883, allocations: 109.8 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=0): time 2.174e-06/0.9883, allocations: 0 / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=0): time 9.516e-05/0.9884, allocations: 40.23 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.9885, allocations: 130.7 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.9888, allocations: 205.8 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.9888, allocations: 29.08 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.173e-05/0.9889, allocations: 114.3 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/0.9889, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.9889, allocations: 4 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.9891, allocations: 329.5 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.005e-05/0.9892, allocations: 47.52 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.9893, allocations: 169.9 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.9895, allocations: 70.88 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.9895, allocations: 7.953 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003965/0.9899, allocations: 234.7 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.9899, allocations: 4 kB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.9899, allocations: 8 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.9899, allocations: 4 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.9901, allocations: 46.84 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.9901, allocations: 11.94 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.114e-05/0.9902, allocations: 22.72 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.9902, allocations: 12 kB / 1.025 GB, free: 14.27 MB / 0.6511 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.793e-05/0.9904, allocations: 202.9 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.9904, allocations: 116.8 kB / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.098e-05/0.9905, allocations: 116.7 kB / 1.025 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.259e-05/0.9906, allocations: 176.3 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.904e-05/0.9906, allocations: 184.2 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-05/0.9907, allocations: 188.2 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.991, allocations: 430.6 kB / 1.026 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.584e-05/0.991, allocations: 104.9 kB / 1.026 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.9911, allocations: 112.9 kB / 1.027 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.811e-05/0.9912, allocations: 176.3 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.599e-05/0.9912, allocations: 184.2 kB / 1.027 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.568e-05/0.9913, allocations: 183.7 kB / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.047e-05/0.9914, allocations: 184.2 kB / 1.027 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.9916, allocations: 314.8 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.532e-05/0.9917, allocations: 189.9 kB / 1.028 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.035e-05/0.9918, allocations: 188.2 kB / 1.028 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.594e-05/0.9919, allocations: 112.9 kB / 1.028 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/0.9919, allocations: 176.3 kB / 1.028 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.035e-05/0.992, allocations: 109.2 kB / 1.028 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001279/0.9921, allocations: 155.4 kB / 1.028 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9922, allocations: 0 / 1.028 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003001/0.9925, allocations: 31.19 kB / 1.029 GB, free: 10.55 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.0001861/0.9927, allocations: 186.5 kB / 1.029 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.9928, allocations: 88.14 kB / 1.029 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9928, allocations: 5.25 kB / 1.029 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.9928, allocations: 0 / 1.029 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.9932, allocations: 0.524 MB / 1.029 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003209/0.9935, allocations: 221.8 kB / 1.03 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.9938, allocations: 0.716 MB / 1.03 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.094e-05/0.9938, allocations: 27.61 kB / 1.03 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.398e-05/0.9939, allocations: 18.88 kB / 1.03 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/0.9939, allocations: 0 / 1.03 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of Templates: time 0.002906/0.9968, allocations: 0.8251 MB / 1.031 GB, free: 7.91 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