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/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.001104/0.001104, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001472/0.002576, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001197/0.001197, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009789/0.002176, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9741/0.9741, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09431/1.068, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.366/2.366, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2449/2.611, allocations: 146 MB / 0.8176 GB, free: 3.809 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.643e-05, allocations: 8.844 kB / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001837/0.001864, allocations: 1.313 MB / 0.8202 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 9.772e-05/0.001961, allocations: 47.84 kB / 0.8202 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.001986, allocations: 0 / 0.8202 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.123e-05/0.002007, allocations: 0 / 0.8202 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.899e-05/0.002086, allocations: 15.91 kB / 0.8202 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.931e-05/0.002166, allocations: 11.94 kB / 0.8203 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.002243, allocations: 15.92 kB / 0.8203 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.00228, allocations: 4 kB / 0.8203 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.662e-05/0.002356, allocations: 15.97 kB / 0.8203 GB, free: 1.062 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.311e-05/0.002419, allocations: 8.75 kB / 0.8203 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.002437, allocations: 0 / 0.8203 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.692e-05/0.002534, allocations: 19.86 kB / 0.8203 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 7.568e-05/0.00261, allocations: 48.47 kB / 0.8204 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.002635, allocations: 19.94 kB / 0.8204 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.002746, allocations: 63.66 kB / 0.8204 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.002754, allocations: 4 kB / 0.8204 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.22e-07/0.002755, allocations: 4 kB / 0.8204 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.002766, allocations: 0 / 0.8204 GB, free: 0.8945 MB / 0.7917 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.0003226/0.003088, allocations: 347.8 kB / 0.8208 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.003117, allocations: 8.031 kB / 0.8208 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.00316, allocations: 84.2 kB / 0.8209 GB, free: 452 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.003268, allocations: 204.9 kB / 0.8211 GB, free: 220 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.003305, allocations: 150.9 kB / 0.8212 GB, free: 68 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/0.003364, allocations: 154.9 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.433e-05/0.003409, allocations: 113.1 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.003426, allocations: 75.28 kB / 0.8215 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.003458, allocations: 154.6 kB / 0.8217 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.186e-05/0.003519, allocations: 166.5 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.354e-05/0.003553, allocations: 150.6 kB / 0.822 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001656/0.003719, allocations: 381.2 kB / 0.8223 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.273e-05/0.003781, allocations: 173.1 kB / 0.8225 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.003801, allocations: 84.12 kB / 0.8226 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.003822, allocations: 75.28 kB / 0.8227 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.003852, allocations: 105.8 kB / 0.8228 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.003853, allocations: 0 / 0.8228 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.015e-05/0.003913, allocations: 45.56 kB / 0.8228 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.003952, allocations: 130.7 kB / 0.8229 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.004074, allocations: 203.1 kB / 0.8231 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.004089, allocations: 33.7 kB / 0.8232 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.004126, allocations: 100 kB / 0.8233 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-06/0.004128, allocations: 0 / 0.8233 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.004176, allocations: 53.66 kB / 0.8233 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000222/0.004398, allocations: 326.8 kB / 0.8236 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.503e-05/0.004433, allocations: 18.81 kB / 0.8236 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.00451, allocations: 148.2 kB / 0.8238 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.004655, allocations: 241.1 kB / 0.824 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.004658, allocations: 0 / 0.824 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001981/0.004856, allocations: 216.5 kB / 0.8242 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.004873, allocations: 8 kB / 0.8242 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.00488, allocations: 7.938 kB / 0.8242 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.004892, allocations: 4 kB / 0.8242 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.005005, allocations: 52.56 kB / 0.8243 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.005012, allocations: 8 kB / 0.8243 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.768e-05/0.005069, allocations: 27.84 kB / 0.8243 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.005083, allocations: 12 kB / 0.8243 GB, free: 12.58 MB / 0.8073 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.402e-05/0.005167, allocations: 207.8 kB / 0.8245 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-05/0.005207, allocations: 113 kB / 0.8246 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/0.005246, allocations: 113.5 kB / 0.8247 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.873e-05/0.005285, allocations: 184.2 kB / 0.8249 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.89e-05/0.005324, allocations: 184.3 kB / 0.8251 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.849e-05/0.005362, allocations: 176.3 kB / 0.8253 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.005509, allocations: 337.3 kB / 0.8256 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-05/0.005533, allocations: 105 kB / 0.8257 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.005557, allocations: 116.9 kB / 0.8258 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.005589, allocations: 108.9 kB / 0.8259 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.942e-05/0.005628, allocations: 180.3 kB / 0.8261 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.005672, allocations: 184.2 kB / 0.8262 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.844e-05/0.00571, allocations: 184.2 kB / 0.8264 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-05/0.005747, allocations: 180.2 kB / 0.8266 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.17e-05/0.005839, allocations: 303.8 kB / 0.8269 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.005885, allocations: 184.2 kB / 0.8271 GB, free: 9.625 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.706e-05/0.005932, allocations: 105 kB / 0.8272 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.005974, allocations: 180.2 kB / 0.8273 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.005995, allocations: 109 kB / 0.8274 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.524e-05/0.006041, allocations: 62.17 kB / 0.8275 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006041, allocations: 0 / 0.8275 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001826/0.006223, allocations: 24 kB / 0.8275 GB, free: 9.133 MB / 0.8073 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.0001309/0.006354, allocations: 159.6 kB / 0.8277 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.006459, allocations: 66.45 kB / 0.8277 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.006465, allocations: 8.094 kB / 0.8277 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.006467, allocations: 0 / 0.8277 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.006665, allocations: 486 kB / 0.8282 GB, free: 8.414 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004112/0.007076, allocations: 291.8 kB / 0.8285 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.872e-05/0.007115, allocations: 67.33 kB / 0.8285 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.719e-05/0.007142, allocations: 15.97 kB / 0.8286 GB, free: 8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.007176, allocations: 55.38 kB / 0.8286 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of SimCode: time 6.52e-07/0.007177, allocations: 0 / 0.8286 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of Templates: time 0.002501/0.009678, allocations: 1.016 MB / 0.8296 GB, free: 6.941 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.021556398831308]