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.001313/0.001313, allocations: 100.4 kB / 19.7 MB, free: 2.141 MB / 14.72 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.00146/0.00146, allocations: 209.7 kB / 22.99 MB, free: 4.961 MB / 14.72 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.342/3.342, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.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_latest_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_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 69.19 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.383, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002529/0.3855, allocations: 1.247 MB / 1.366 GB, free: 12.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002719/0.3858, allocations: 48.2 kB / 1.366 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.3858, allocations: 0 / 1.366 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.811e-05/0.3859, allocations: 3.984 kB / 1.366 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.386, allocations: 15.98 kB / 1.366 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.3862, allocations: 11.92 kB / 1.366 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.166e-05/0.3862, allocations: 12 kB / 1.366 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.3863, allocations: 0 / 1.366 GB, free: 12.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.116e-05/0.3863, allocations: 19.84 kB / 1.366 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.668e-05/0.3864, allocations: 4.75 kB / 1.366 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.3864, allocations: 0 / 1.366 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.042e-05/0.3864, allocations: 7.984 kB / 1.366 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.008e-05/0.3865, allocations: 44.45 kB / 1.366 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.3866, allocations: 39.75 kB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.3867, allocations: 87.44 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3867, allocations: 0 / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.013e-06/0.3867, allocations: 0 / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3867, allocations: 0 / 1.366 GB, free: 12 MB / 1.061 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.000476/0.3872, allocations: 349.6 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3872, allocations: 12.03 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.804e-05/0.3873, allocations: 92.12 kB / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.3875, allocations: 205.6 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.952e-05/0.3876, allocations: 158.7 kB / 1.367 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.431e-05/0.3877, allocations: 154.6 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.747e-05/0.3877, allocations: 108.9 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.636e-05/0.3878, allocations: 75.28 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.3879, allocations: 154.6 kB / 1.367 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.209e-05/0.3879, allocations: 150.6 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.3881, allocations: 150.6 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.3885, allocations: 441.5 kB / 1.368 GB, free: 9.898 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.3886, allocations: 173.1 kB / 1.368 GB, free: 9.719 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.3886, allocations: 88.08 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.443e-05/0.3887, allocations: 75.28 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.086e-05/0.3887, allocations: 109.8 kB / 1.368 GB, free: 9.438 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.3887, allocations: 4 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.569e-05/0.3888, allocations: 37.61 kB / 1.369 GB, free: 9.391 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.369e-05/0.3889, allocations: 134.7 kB / 1.369 GB, free: 9.246 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.3892, allocations: 231.7 kB / 1.369 GB, free: 9.004 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.3893, allocations: 25.7 kB / 1.369 GB, free: 8.973 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.603e-05/0.3894, allocations: 112.1 kB / 1.369 GB, free: 8.859 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.3894, allocations: 3.938 kB / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.3894, allocations: 37.7 kB / 1.369 GB, free: 8.812 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3896, allocations: 322.8 kB / 1.369 GB, free: 8.488 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-05/0.3897, allocations: 59.95 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.558e-05/0.3897, allocations: 61.41 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.3899, allocations: 137.9 kB / 1.37 GB, free: 8.234 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3899, allocations: 0 / 1.37 GB, free: 8.234 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003377/0.3903, allocations: 171.2 kB / 1.37 GB, free: 8.062 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3903, allocations: 4 kB / 1.37 GB, free: 8.059 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3903, allocations: 3.938 kB / 1.37 GB, free: 8.055 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3903, allocations: 0 / 1.37 GB, free: 8.055 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.765e-06/0.3903, allocations: 4 kB / 1.37 GB, free: 8.051 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.3903, allocations: 7.938 kB / 1.37 GB, free: 8.043 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.3904, allocations: 15.78 kB / 1.37 GB, free: 8.027 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.3904, allocations: 11.98 kB / 1.37 GB, free: 8.016 MB / 1.061 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.0001505/0.3905, allocations: 213.8 kB / 1.37 GB, free: 7.797 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.3906, allocations: 116.9 kB / 1.37 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.211e-05/0.3907, allocations: 109.5 kB / 1.37 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.327e-05/0.3908, allocations: 180.2 kB / 1.37 GB, free: 7.379 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.194e-05/0.3909, allocations: 184.3 kB / 1.371 GB, free: 7.191 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.454e-05/0.3909, allocations: 184.2 kB / 1.371 GB, free: 7.004 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.3912, allocations: 389.8 kB / 1.371 GB, free: 6.586 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.792e-05/0.3913, allocations: 105 kB / 1.371 GB, free: 6.477 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.323e-05/0.3913, allocations: 108.9 kB / 1.371 GB, free: 6.363 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-05/0.3914, allocations: 180.2 kB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/0.3916, allocations: 184.2 kB / 1.372 GB, free: 5.992 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001295/0.3917, allocations: 180.3 kB / 1.372 GB, free: 5.809 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.373e-05/0.3918, allocations: 184.2 kB / 1.372 GB, free: 5.621 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.392, allocations: 315.9 kB / 1.372 GB, free: 5.289 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.3921, allocations: 124.8 kB / 1.372 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-05/0.3922, allocations: 180.3 kB / 1.373 GB, free: 4.977 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.3923, allocations: 105 kB / 1.373 GB, free: 4.867 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.3924, allocations: 180.2 kB / 1.373 GB, free: 4.684 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.107e-05/0.3925, allocations: 105 kB / 1.373 GB, free: 4.574 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001948/0.3927, allocations: 160.6 kB / 1.373 GB, free: 4.418 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3927, allocations: 7.938 kB / 1.373 GB, free: 4.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002762/0.3929, allocations: 16 kB / 1.373 GB, free: 4.395 MB / 1.061 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.0001959/0.3931, allocations: 174.5 kB / 1.373 GB, free: 4.211 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000147/0.3933, allocations: 63.91 kB / 1.373 GB, free: 4.148 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.3933, allocations: 0 / 1.373 GB, free: 4.148 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.027e-06/0.3933, allocations: 4 kB / 1.373 GB, free: 4.145 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.3937, allocations: 463.6 kB / 1.374 GB, free: 3.688 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.3942, allocations: 323.9 kB / 1.374 GB, free: 3.336 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.3943, allocations: 104.6 kB / 1.374 GB, free: 3.215 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.3944, allocations: 11.38 kB / 1.374 GB, free: 3.203 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.3944, allocations: 0 / 1.374 GB, free: 3.203 MB / 1.061 GB Notification: Performance of Templates: time 0.003011/0.3974, allocations: 1.178 MB / 1.375 GB, free: 2.027 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.394244245719165]