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.001312/0.001312, allocations: 83.97 kB / 19.76 MB, free: 2.016 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.001444/0.001444, allocations: 152.5 kB / 23.01 MB, free: 4.973 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.444/1.444, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.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 2.709/2.709, allocations: 359.1 MB / 0.6044 GB, free: 14.81 MB / 0.5762 GB " [Timeout remaining time 177] 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.002324/0.002324, allocations: 63.91 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.382, allocations: 169.9 MB / 1.117 GB, free: 2.512 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003105/0.3851, allocations: 1.235 MB / 1.119 GB, free: 1.266 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003072/0.3854, allocations: 47.86 kB / 1.119 GB, free: 1.219 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.684e-05/0.3854, allocations: 0 / 1.119 GB, free: 1.219 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.3855, allocations: 4 kB / 1.119 GB, free: 1.215 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.3856, allocations: 11.97 kB / 1.119 GB, free: 1.203 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.3858, allocations: 7.938 kB / 1.119 GB, free: 1.195 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.3859, allocations: 15.92 kB / 1.119 GB, free: 1.18 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.117e-05/0.3859, allocations: 4 kB / 1.119 GB, free: 1.176 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.475e-05/0.386, allocations: 11.98 kB / 1.119 GB, free: 1.164 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.459e-05/0.3861, allocations: 12.67 kB / 1.119 GB, free: 1.148 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.3861, allocations: 0 / 1.119 GB, free: 1.148 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.516e-05/0.3862, allocations: 4 kB / 1.119 GB, free: 1.145 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.3863, allocations: 52.44 kB / 1.119 GB, free: 1.094 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.835e-05/0.3863, allocations: 31.75 kB / 1.119 GB, free: 1.062 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.3865, allocations: 79.52 kB / 1.119 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3865, allocations: 0 / 1.119 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of FrontEnd: time 5.38e-06/0.3865, allocations: 4 kB / 1.119 GB, free: 0.9805 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.3865, allocations: 0 / 1.119 GB, free: 0.9805 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.0005254/0.3871, allocations: 349.6 kB / 1.119 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.3871, allocations: 8.031 kB / 1.119 GB, free: 0.6016 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/0.3872, allocations: 88.12 kB / 1.119 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.3874, allocations: 221.6 kB / 1.12 GB, free: 280 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.742e-05/0.3875, allocations: 162.6 kB / 1.12 GB, free: 116 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-05/0.3876, allocations: 150.6 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.333e-05/0.3877, allocations: 108.9 kB / 1.12 GB, free: 15.85 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.3877, allocations: 75.28 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-05/0.3878, allocations: 150.6 kB / 1.12 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.07e-05/0.3878, allocations: 150.6 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.111e-05/0.3879, allocations: 154.6 kB / 1.12 GB, free: 15.33 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.3883, allocations: 445.4 kB / 1.121 GB, free: 14.86 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.3884, allocations: 173.1 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.438e-05/0.3884, allocations: 88.08 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.3885, allocations: 79.28 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.469e-05/0.3885, allocations: 109.8 kB / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3885, allocations: 0 / 1.121 GB, free: 14.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0001059/0.3887, allocations: 41.55 kB / 1.121 GB, free: 14.35 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.159e-05/0.3887, allocations: 126.7 kB / 1.121 GB, free: 14.21 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.389, allocations: 223.2 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.389, allocations: 29.7 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.3891, allocations: 108.1 kB / 1.122 GB, free: 13.84 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.3891, allocations: 0 / 1.122 GB, free: 13.84 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-05/0.3892, allocations: 41.69 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3893, allocations: 330.8 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.655e-05/0.3894, allocations: 51.97 kB / 1.122 GB, free: 13.41 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.088e-05/0.3895, allocations: 63.89 kB / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.3897, allocations: 131.2 kB / 1.122 GB, free: 13.22 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3897, allocations: 0 / 1.122 GB, free: 13.22 MB / 1.076 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003683/0.3901, allocations: 185.4 kB / 1.123 GB, free: 13.03 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3901, allocations: 8 kB / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3901, allocations: 0 / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3901, allocations: 0 / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.3901, allocations: 0 / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3901, allocations: 4.062 kB / 1.123 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.58e-05/0.3902, allocations: 19.78 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.3902, allocations: 4 kB / 1.123 GB, free: 13 MB / 1.076 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.0001469/0.3904, allocations: 205 kB / 1.123 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.752e-05/0.3904, allocations: 120.9 kB / 1.123 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.615e-05/0.3905, allocations: 125.5 kB / 1.123 GB, free: 12.53 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.593e-05/0.3906, allocations: 176.3 kB / 1.123 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-05/0.3907, allocations: 180.2 kB / 1.123 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.341e-05/0.3908, allocations: 188.2 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.3911, allocations: 388.8 kB / 1.124 GB, free: 11.56 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.573e-05/0.3911, allocations: 112.9 kB / 1.124 GB, free: 11.44 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.816e-05/0.3912, allocations: 101 kB / 1.124 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.26e-05/0.3913, allocations: 184.3 kB / 1.124 GB, free: 11.15 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.3914, allocations: 184.3 kB / 1.124 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.749e-05/0.3914, allocations: 176.3 kB / 1.125 GB, free: 10.78 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.824e-05/0.3915, allocations: 184.2 kB / 1.125 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.3917, allocations: 319.6 kB / 1.125 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.02e-05/0.3918, allocations: 112.9 kB / 1.125 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.3919, allocations: 184.2 kB / 1.125 GB, free: 9.953 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.392, allocations: 104.9 kB / 1.126 GB, free: 9.844 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/0.3921, allocations: 184.3 kB / 1.126 GB, free: 9.656 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.3922, allocations: 108.9 kB / 1.126 GB, free: 9.543 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000141/0.3923, allocations: 156.6 kB / 1.126 GB, free: 9.391 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3923, allocations: 0 / 1.126 GB, free: 9.391 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002611/0.3926, allocations: 20 kB / 1.126 GB, free: 9.371 MB / 1.076 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.0001859/0.3927, allocations: 181.1 kB / 1.126 GB, free: 9.188 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001496/0.3929, allocations: 59.95 kB / 1.126 GB, free: 9.129 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3929, allocations: 0 / 1.126 GB, free: 9.129 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.3929, allocations: 0 / 1.126 GB, free: 9.129 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.3933, allocations: 463.6 kB / 1.127 GB, free: 8.672 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004841/0.3938, allocations: 306.1 kB / 1.127 GB, free: 8.348 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.3939, allocations: 96.78 kB / 1.127 GB, free: 8.234 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.212e-05/0.394, allocations: 11.98 kB / 1.127 GB, free: 8.223 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.716e-05/0.394, allocations: 8.5 kB / 1.127 GB, free: 8.215 MB / 1.076 GB Notification: Performance of SimCode: time 7.02e-07/0.394, allocations: 0 / 1.127 GB, free: 8.215 MB / 1.076 GB Notification: Performance of Templates: time 0.003655/0.3976, allocations: 0.6941 MB / 1.128 GB, free: 7.52 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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/jenkins1/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: 9.00215933599975]