Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002244/0.002243, allocations: 191.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.013/3.013, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.88 kB / 0.8692 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9641/0.9661, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003825/0.97, allocations: 1.203 MB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003711/0.9704, allocations: 55.77 kB / 1.019 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.9705, allocations: 0 / 1.019 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.937e-05/0.9706, allocations: 0 / 1.019 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.9708, allocations: 11.97 kB / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.971, allocations: 11.94 kB / 1.019 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.9711, allocations: 19.92 kB / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.765e-05/0.9712, allocations: 0 / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.9713, allocations: 7.984 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.9714, allocations: 8.734 kB / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.9714, allocations: 8 kB / 1.019 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.9716, allocations: 8 kB / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.9717, allocations: 48.38 kB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.113e-05/0.9718, allocations: 35.75 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.972, allocations: 73.61 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.972, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.805e-06/0.972, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.587e-06/0.972, allocations: 0 / 1.019 GB, free: 1.023 MB / 0.7637 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.0006807/0.9727, allocations: 434.7 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.9728, allocations: 12.03 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.9729, allocations: 84.12 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.9732, allocations: 271.3 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.9733, allocations: 155 kB / 1.02 GB, free: 16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.463e-05/0.9734, allocations: 166.4 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.9735, allocations: 105 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.109e-05/0.9736, allocations: 75.28 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.489e-05/0.9737, allocations: 150.6 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.509e-05/0.9737, allocations: 154.5 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.921e-05/0.9738, allocations: 150.6 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.9743, allocations: 0.4939 MB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.9745, allocations: 173 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.9745, allocations: 80.14 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.844e-05/0.9746, allocations: 75.28 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.393e-05/0.9747, allocations: 113.8 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.923e-06/0.9747, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.000129/0.9748, allocations: 41.5 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.494e-05/0.9749, allocations: 130.7 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.9752, allocations: 227 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.9753, allocations: 25.7 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.9754, allocations: 112 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-06/0.9754, allocations: 0 / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/0.9755, allocations: 37.69 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.9757, allocations: 330.8 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.9758, allocations: 55.97 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.838e-05/0.9759, allocations: 61.02 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.9761, allocations: 140 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9761, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004232/0.9765, allocations: 177.3 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.9766, allocations: 5.875 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.9766, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.9766, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.9766, allocations: 64 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.9766, allocations: 8 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.9767, allocations: 11.75 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.9767, allocations: 11.98 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001775/0.9769, allocations: 205 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.018e-05/0.977, allocations: 112.9 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.844e-05/0.9771, allocations: 117.5 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001038/0.9772, allocations: 180.3 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.449e-05/0.9773, allocations: 176.3 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.851e-05/0.9774, allocations: 188.2 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.9778, allocations: 437.1 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.729e-05/0.9778, allocations: 104.9 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.107e-05/0.9779, allocations: 112.9 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.74e-05/0.978, allocations: 180.3 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.865e-05/0.9781, allocations: 180.2 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.186e-05/0.9782, allocations: 180.2 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001019/0.9783, allocations: 184.2 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.9785, allocations: 323.5 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.9787, allocations: 197.9 kB / 1.025 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.9788, allocations: 184.3 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.9789, allocations: 108.9 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/0.979, allocations: 176.3 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-05/0.9791, allocations: 105.2 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001682/0.9793, allocations: 160.6 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9793, allocations: 0 / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002982/0.9796, allocations: 23.94 kB / 1.026 GB, free: 9.008 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002228/0.9798, allocations: 176.4 kB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001818/0.98, allocations: 75.95 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.98, allocations: 4 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.98, allocations: 0 / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.9805, allocations: 463.7 kB / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005469/0.9811, allocations: 310.2 kB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.9815, allocations: 0.708 MB / 1.028 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.463e-05/0.9815, allocations: 7.984 kB / 1.028 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.9815, allocations: 11.44 kB / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/0.9815, allocations: 0 / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of Templates: time 0.004154/0.9857, allocations: 0.7343 MB / 1.029 GB, free: 6.477 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches