Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.003113/0.003113, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003298/0.003298, allocations: 165.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.644/1.644, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.285/3.285, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.378e-05/4.615e-05, allocations: 7.375 kB / 0.8108 GB, free: 2.156 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.0045/0.004546, allocations: 1.241 MB / 0.812 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002841/0.00483, allocations: 55.92 kB / 0.812 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.004869, allocations: 1.688 kB / 0.812 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.415e-05/0.004923, allocations: 3.938 kB / 0.8121 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.00505, allocations: 11.97 kB / 0.8121 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.005263, allocations: 8 kB / 0.8121 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.005373, allocations: 17.45 kB / 0.8121 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.005417, allocations: 0 / 0.8121 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 6.272e-05/0.005479, allocations: 15.98 kB / 0.8121 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.894e-05/0.005548, allocations: 12.67 kB / 0.8121 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.005567, allocations: 1.594 kB / 0.8121 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.905e-05/0.005656, allocations: 4 kB / 0.8121 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.005769, allocations: 50.12 kB / 0.8122 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.005818, allocations: 19.94 kB / 0.8122 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.005985, allocations: 67.64 kB / 0.8123 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.005991, allocations: 8 kB / 0.8123 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.382e-06/0.005992, allocations: 0 / 0.8123 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.005998, allocations: 0.5312 kB / 0.8123 GB, free: 0.6562 MB / 0.7605 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.0006135/0.006611, allocations: 460 kB / 0.8127 GB, free: 176 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.006655, allocations: 12.81 kB / 0.8127 GB, free: 164 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.00678, allocations: 132 kB / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.007019, allocations: 256.3 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.007156, allocations: 239.9 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.007304, allocations: 242.7 kB / 0.8135 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.007417, allocations: 153 kB / 0.8137 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-05/0.00748, allocations: 120.6 kB / 0.8138 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.007606, allocations: 242.4 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/0.007729, allocations: 238.4 kB / 0.8143 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.007869, allocations: 248.1 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.008391, allocations: 0.6187 MB / 0.8151 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.008574, allocations: 265.4 kB / 0.8154 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.01e-05/0.008654, allocations: 126.9 kB / 0.8155 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.517e-05/0.00872, allocations: 119.2 kB / 0.8156 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.008847, allocations: 157.7 kB / 0.8157 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.008848, allocations: 0 / 0.8157 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 0.0001207/0.008969, allocations: 53.53 kB / 0.8158 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.009081, allocations: 171.1 kB / 0.816 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.009413, allocations: 270.2 kB / 0.8162 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.009438, allocations: 25.7 kB / 0.8162 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.009571, allocations: 164.4 kB / 0.8164 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.009574, allocations: 0 / 0.8164 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.592e-05/0.00967, allocations: 51.34 kB / 0.8164 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0005563/0.01023, allocations: 0.4962 MB / 0.8169 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.376e-05/0.01028, allocations: 22.58 kB / 0.8169 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/0.01032, allocations: 12 kB / 0.817 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.01045, allocations: 65.61 kB / 0.817 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01045, allocations: 0 / 0.817 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002682/0.01072, allocations: 107.8 kB / 0.8171 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.01074, allocations: 7.984 kB / 0.8171 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.01075, allocations: 0 / 0.8171 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.01076, allocations: 0.7188 kB / 0.8171 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.01076, allocations: 0 / 0.8171 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.01077, allocations: 4.531 kB / 0.8171 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.235e-05/0.01082, allocations: 12.33 kB / 0.8171 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.01085, allocations: 9.031 kB / 0.8172 GB, free: 11.44 MB / 0.7761 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.000209/0.01105, allocations: 279.7 kB / 0.8174 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.01118, allocations: 164.7 kB / 0.8176 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.01129, allocations: 162.3 kB / 0.8177 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001539/0.01144, allocations: 268 kB / 0.818 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001555/0.0116, allocations: 272.9 kB / 0.8183 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002929/0.01189, allocations: 272.1 kB / 0.8185 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.01232, allocations: 0.5293 MB / 0.819 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.963e-05/0.0124, allocations: 148.9 kB / 0.8192 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.19e-05/0.01249, allocations: 148.8 kB / 0.8193 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001528/0.01264, allocations: 264.1 kB / 0.8196 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001556/0.0128, allocations: 284 kB / 0.8198 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001487/0.01294, allocations: 268 kB / 0.8201 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001586/0.0131, allocations: 266.7 kB / 0.8203 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.01341, allocations: 455.9 kB / 0.8208 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.01352, allocations: 160.8 kB / 0.8209 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.0137, allocations: 276 kB / 0.8212 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.01384, allocations: 144.9 kB / 0.8213 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.01399, allocations: 272 kB / 0.8216 GB, free: 6.711 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.608e-05/0.01408, allocations: 152.9 kB / 0.8217 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001711/0.01425, allocations: 186.2 kB / 0.8219 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01425, allocations: 0 / 0.8219 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002623/0.01451, allocations: 16 kB / 0.8219 GB, free: 6.359 MB / 0.7761 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.0005394/0.01505, allocations: 223.5 kB / 0.8221 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001444/0.0152, allocations: 39.61 kB / 0.8222 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.0152, allocations: 1.062 kB / 0.8222 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.0152, allocations: 0 / 0.8222 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006254/0.01583, allocations: 0.7062 MB / 0.8229 GB, free: 5.379 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000559/0.01639, allocations: 330.8 kB / 0.8232 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.0165, allocations: 96.66 kB / 0.8233 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.337e-05/0.01653, allocations: 7.984 kB / 0.8233 GB, free: 4.906 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.01657, allocations: 13.83 kB / 0.8233 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of SimCode: time 8.11e-07/0.01657, allocations: 0 / 0.8233 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of Templates: time 0.004079/0.02065, allocations: 0.7286 MB / 0.824 GB, free: 4.172 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.89513168495614]