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.001643/0.001643, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001759/0.001759, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 2.724/2.724, allocations: 476 MB / 0.7707 GB, free: 4.73 MB / 0.6231 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.002118/0.002118, allocations: 67.42 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.368, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002528/0.3705, allocations: 1.232 MB / 1.285 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002675/0.3708, allocations: 47.84 kB / 1.285 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.3708, allocations: 0 / 1.285 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.289e-05/0.3708, allocations: 15.92 kB / 1.285 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.371, allocations: 0 / 1.285 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.3711, allocations: 11.92 kB / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.671e-05/0.3712, allocations: 15.98 kB / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.402e-05/0.3713, allocations: 0 / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.713e-05/0.3713, allocations: 15.92 kB / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.389e-05/0.3714, allocations: 8.688 kB / 1.285 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.3714, allocations: 0 / 1.285 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.657e-05/0.3715, allocations: 8 kB / 1.285 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.3716, allocations: 56.42 kB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.562e-05/0.3716, allocations: 31.75 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.3718, allocations: 79.52 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3718, allocations: 0 / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3718, allocations: 0 / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.3718, allocations: 4 kB / 1.285 GB, free: 10.39 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.0005181/0.3723, allocations: 357.5 kB / 1.286 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3723, allocations: 8.031 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.022e-05/0.3724, allocations: 88.11 kB / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.3726, allocations: 213.5 kB / 1.286 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.08e-05/0.3727, allocations: 158.7 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.354e-05/0.3728, allocations: 150.6 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.639e-05/0.3729, allocations: 105.1 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.12e-05/0.3729, allocations: 75.28 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-05/0.373, allocations: 162.5 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.95e-05/0.3731, allocations: 150.6 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.682e-05/0.3732, allocations: 150.6 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.3735, allocations: 445.5 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.3736, allocations: 173.1 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.3737, allocations: 88.02 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/0.3737, allocations: 75.28 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.396e-05/0.3738, allocations: 113.8 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.3738, allocations: 0 / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.832e-05/0.3739, allocations: 37.61 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.667e-05/0.3739, allocations: 126.7 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.3742, allocations: 231 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.3743, allocations: 29.7 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/0.3743, allocations: 104.1 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.438e-06/0.3743, allocations: 3.984 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.3744, allocations: 45.69 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3746, allocations: 322.8 kB / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-05/0.3747, allocations: 59.95 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.792e-05/0.3747, allocations: 59.84 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.3749, allocations: 139.8 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3749, allocations: 0 / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000336/0.3753, allocations: 173.5 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3753, allocations: 10.19 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.3753, allocations: 0 / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3753, allocations: 0 / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.3753, allocations: 0 / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.3753, allocations: 0 / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.827e-05/0.3754, allocations: 27.72 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.3754, allocations: 12.05 kB / 1.289 GB, free: 6.395 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.0001446/0.3755, allocations: 205 kB / 1.289 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.3756, allocations: 108.9 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.576e-05/0.3757, allocations: 113.5 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-05/0.3758, allocations: 190 kB / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.626e-05/0.3758, allocations: 176.3 kB / 1.29 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.173e-05/0.3759, allocations: 180.3 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.3762, allocations: 392.7 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.774e-05/0.3763, allocations: 108.9 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.3763, allocations: 108.9 kB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.559e-05/0.3764, allocations: 180.3 kB / 1.291 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.628e-05/0.3765, allocations: 188.2 kB / 1.291 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.83e-05/0.3766, allocations: 184.3 kB / 1.291 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.15e-05/0.3767, allocations: 176.3 kB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.3769, allocations: 315.6 kB / 1.291 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.02e-05/0.377, allocations: 124.8 kB / 1.292 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.3771, allocations: 180.3 kB / 1.292 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.314e-05/0.3772, allocations: 101.3 kB / 1.292 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-05/0.3773, allocations: 184.2 kB / 1.292 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.384e-05/0.3773, allocations: 101 kB / 1.292 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000158/0.3775, allocations: 156.6 kB / 1.292 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3775, allocations: 4 kB / 1.292 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000272/0.3778, allocations: 16 kB / 1.292 GB, free: 2.789 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.0002404/0.378, allocations: 178.5 kB / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001791/0.3782, allocations: 67.92 kB / 1.293 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3782, allocations: 0 / 1.293 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.634e-06/0.3782, allocations: 0 / 1.293 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.3787, allocations: 463.6 kB / 1.293 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.3792, allocations: 323.9 kB / 1.293 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.3794, allocations: 100.6 kB / 1.293 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.3794, allocations: 11.44 kB / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3794, allocations: 0 / 1.293 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of Templates: time 0.003582/0.383, allocations: 1.18 MB / 1.295 GB, free: 432 kB / 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/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: 11.188160467892885]