Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001527/0.001527, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001686/0.001686, allocations: 211.1 kB / 22.24 MB, free: 5.262 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.585/1.585, allocations: 230.6 MB / 256 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.024/3.024, allocations: 475.9 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002299/0.002299, allocations: 66.38 kB / 1.117 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.475/0.4773, allocations: 170 MB / 1.283 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003233/0.4806, allocations: 1.235 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003278/0.4809, allocations: 51.78 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.4809, allocations: 0 / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.796e-05/0.481, allocations: 8 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.4811, allocations: 3.938 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.4813, allocations: 15.97 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.4814, allocations: 11.94 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.711e-05/0.4815, allocations: 7.984 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.219e-05/0.4815, allocations: 4 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.886e-05/0.4816, allocations: 12.72 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.4816, allocations: 0 / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.892e-05/0.4817, allocations: 11.94 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.4819, allocations: 56.38 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.645e-05/0.4819, allocations: 27.81 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.4821, allocations: 83.41 kB / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.4821, allocations: 0 / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.868e-06/0.4821, allocations: 4 kB / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.4821, allocations: 0 / 1.284 GB, free: 10.37 MB / 0.9825 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.0005792/0.4827, allocations: 353.6 kB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.4827, allocations: 8.031 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.488e-05/0.4828, allocations: 84.17 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.483, allocations: 217.5 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.822e-05/0.4831, allocations: 158.7 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.713e-05/0.4832, allocations: 150.6 kB / 1.285 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.4833, allocations: 105.1 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.4833, allocations: 75.28 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.301e-05/0.4834, allocations: 158.6 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.298e-05/0.4835, allocations: 150.6 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.166e-05/0.4836, allocations: 158.5 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.4839, allocations: 437.5 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.4841, allocations: 173.1 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.935e-05/0.4841, allocations: 84.08 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.4841, allocations: 79.28 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.329e-05/0.4842, allocations: 117.8 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.4842, allocations: 0 / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001091/0.4843, allocations: 37.61 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.4844, allocations: 126.7 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.4847, allocations: 235 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.4847, allocations: 25.7 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.379e-05/0.4848, allocations: 112.1 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/0.4848, allocations: 0 / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.165e-05/0.4849, allocations: 37.7 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.4851, allocations: 322.8 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.623e-05/0.4852, allocations: 63.95 kB / 1.288 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.718e-05/0.4853, allocations: 63.89 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.4855, allocations: 136.1 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4855, allocations: 0 / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003903/0.4858, allocations: 177.5 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.4859, allocations: 8 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.4859, allocations: 0 / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4859, allocations: 0 / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-06/0.4859, allocations: 3.984 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.4859, allocations: 0 / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.087e-05/0.486, allocations: 19.84 kB / 1.288 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.486, allocations: 11.94 kB / 1.288 GB, free: 6.379 MB / 0.9825 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.000159/0.4861, allocations: 205 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.412e-05/0.4862, allocations: 112.9 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.472e-05/0.4863, allocations: 117.5 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.34e-05/0.4864, allocations: 182 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.891e-05/0.4865, allocations: 180.2 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.43e-05/0.4866, allocations: 180.3 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.4868, allocations: 388.7 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.196e-05/0.4869, allocations: 105 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.911e-05/0.4869, allocations: 108.9 kB / 1.29 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-05/0.487, allocations: 184.3 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.515e-05/0.4871, allocations: 184.3 kB / 1.29 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.958e-05/0.4872, allocations: 188.1 kB / 1.29 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.285e-05/0.4873, allocations: 176.3 kB / 1.29 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.4875, allocations: 323.6 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.636e-05/0.4876, allocations: 116.9 kB / 1.291 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.332e-05/0.4877, allocations: 180.2 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.4878, allocations: 101.3 kB / 1.291 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.051e-05/0.4878, allocations: 188.2 kB / 1.291 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/0.4879, allocations: 105 kB / 1.291 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001552/0.4881, allocations: 156.7 kB / 1.292 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4881, allocations: 0 / 1.292 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002499/0.4883, allocations: 20 kB / 1.292 GB, free: 2.766 MB / 0.9825 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.0001983/0.4885, allocations: 174.5 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001702/0.4887, allocations: 67.91 kB / 1.292 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.4887, allocations: 0 / 1.292 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.4887, allocations: 0 / 1.292 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.4891, allocations: 463.6 kB / 1.292 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000534/0.4897, allocations: 298.2 kB / 1.293 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.4898, allocations: 96.59 kB / 1.293 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.802e-05/0.4898, allocations: 15.97 kB / 1.293 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.4899, allocations: 7.438 kB / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of SimCode: time 7.91e-07/0.4899, allocations: 0 / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of Templates: time 0.003985/0.4938, allocations: 0.8279 MB / 1.293 GB, free: 0.7734 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.023782763630152]