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.001721/0.001721, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.002101/0.002101, allocations: 213.7 kB / 23.01 MB, free: 4.566 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.895/2.895, allocations: 476.7 MB / 0.7714 GB, free: 4.258 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.002103/0.002103, allocations: 65.61 kB / 1.119 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3966, allocations: 170 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002551/0.3991, allocations: 1.243 MB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002699/0.3994, allocations: 55.81 kB / 1.286 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.3995, allocations: 4 kB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.3995, allocations: 0 / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.3996, allocations: 7.984 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001549/0.3998, allocations: 11.94 kB / 1.286 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.969e-05/0.3999, allocations: 19.91 kB / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.3999, allocations: 4 kB / 1.286 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.894e-05/0.3999, allocations: 7.938 kB / 1.286 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.952e-05/0.4, allocations: 12.73 kB / 1.286 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.4, allocations: 3.984 kB / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.402e-05/0.4001, allocations: 4 kB / 1.286 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.719e-05/0.4002, allocations: 48.44 kB / 1.286 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.4003, allocations: 43.69 kB / 1.286 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.4004, allocations: 79.47 kB / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.4004, allocations: 0 / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4004, allocations: 0 / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.4004, allocations: 0 / 1.286 GB, free: 9.699 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.0004849/0.4009, allocations: 353.6 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.401, allocations: 12.03 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.482e-05/0.401, allocations: 84.17 kB / 1.287 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.4012, allocations: 217.5 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.177e-05/0.4013, allocations: 162.6 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/0.4013, allocations: 150.6 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.69e-05/0.4014, allocations: 101.1 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.328e-05/0.4015, allocations: 75.28 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.4015, allocations: 162.5 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.205e-05/0.4016, allocations: 158.5 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.015e-05/0.4017, allocations: 150.6 kB / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.402, allocations: 476.8 kB / 1.288 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.4021, allocations: 169.1 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.4022, allocations: 88.14 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.427e-05/0.4022, allocations: 75.28 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.116e-05/0.4023, allocations: 105.8 kB / 1.289 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.4023, allocations: 0 / 1.289 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.707e-05/0.4024, allocations: 41.55 kB / 1.289 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.4025, allocations: 126.7 kB / 1.289 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.4028, allocations: 235.1 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.4028, allocations: 25.7 kB / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.646e-05/0.4029, allocations: 112.1 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/0.4029, allocations: 0 / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/0.403, allocations: 41.69 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.4032, allocations: 322.8 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.149e-05/0.4033, allocations: 59.91 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.517e-05/0.4034, allocations: 55.95 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.4036, allocations: 147.8 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4036, allocations: 0 / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003585/0.4039, allocations: 181.3 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.4039, allocations: 10.5 kB / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4039, allocations: 0 / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.404, allocations: 0 / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.404, allocations: 0 / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.404, allocations: 0 / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.404, allocations: 19.78 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.404, allocations: 4 kB / 1.29 GB, free: 5.668 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.000152/0.4042, allocations: 209.1 kB / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.573e-05/0.4043, allocations: 112.9 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.179e-05/0.4043, allocations: 121.4 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.65e-05/0.4044, allocations: 178.1 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.164e-05/0.4045, allocations: 184.2 kB / 1.291 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-05/0.4046, allocations: 180.3 kB / 1.291 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.4049, allocations: 412.2 kB / 1.291 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.521e-05/0.405, allocations: 104.9 kB / 1.291 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.944e-05/0.405, allocations: 105 kB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-05/0.4051, allocations: 180.2 kB / 1.292 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.773e-05/0.4052, allocations: 184.3 kB / 1.292 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.277e-05/0.4053, allocations: 184.2 kB / 1.292 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.977e-05/0.4054, allocations: 180.2 kB / 1.292 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.4055, allocations: 315.7 kB / 1.292 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.8e-05/0.4056, allocations: 116.8 kB / 1.292 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.4057, allocations: 184.2 kB / 1.293 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.733e-05/0.4058, allocations: 105.2 kB / 1.293 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-05/0.4059, allocations: 184.3 kB / 1.293 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/0.4059, allocations: 105 kB / 1.293 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001411/0.4061, allocations: 156.6 kB / 1.293 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4061, allocations: 0 / 1.293 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002521/0.4063, allocations: 16 kB / 1.293 GB, free: 2.027 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.000188/0.4065, allocations: 182.5 kB / 1.293 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.4067, allocations: 67.91 kB / 1.293 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4067, allocations: 0 / 1.293 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.4067, allocations: 0 / 1.293 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.4071, allocations: 459.7 kB / 1.294 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.4076, allocations: 327.8 kB / 1.294 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.4079, allocations: 0.7041 MB / 1.295 GB, free: 240 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.408, allocations: 15.42 kB / 1.295 GB, free: 224 kB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.408, allocations: 0 / 1.295 GB, free: 224 kB / 0.9825 GB Notification: Performance of Templates: time 0.003432/0.4114, allocations: 1.126 MB / 1.296 GB, free: 15.09 MB / 0.9981 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.757911977008916]