Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001586/0.001586, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001821/0.001821, allocations: 222.8 kB / 23 MB, free: 4.914 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.413/3.413, allocations: 0.4892 GB / 0.7951 GB, free: 35.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002151/0.002151, allocations: 71.52 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4056, allocations: 176.1 MB / 1.326 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002389/0.408, allocations: 1.23 MB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002434/0.4083, allocations: 48.2 kB / 1.328 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.4083, allocations: 0 / 1.328 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.52e-05/0.4083, allocations: 4 kB / 1.328 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.765e-05/0.4084, allocations: 3.984 kB / 1.328 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.4086, allocations: 19.92 kB / 1.328 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.454e-05/0.4087, allocations: 19.92 kB / 1.328 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.4087, allocations: 0 / 1.328 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.905e-05/0.4087, allocations: 11.98 kB / 1.328 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.016e-05/0.4088, allocations: 16.67 kB / 1.328 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.4088, allocations: 0 / 1.328 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.267e-05/0.4089, allocations: 4 kB / 1.328 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.562e-05/0.409, allocations: 48.44 kB / 1.328 GB, free: 500 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.409, allocations: 31.75 kB / 1.328 GB, free: 468 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.4091, allocations: 75.52 kB / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.4091, allocations: 4 kB / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4091, allocations: 0 / 1.328 GB, free: 388 kB / 1.014 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.4092, allocations: 4 kB / 1.328 GB, free: 384 kB / 1.014 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.0004582/0.4096, allocations: 361.6 kB / 1.328 GB, free: 15.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.4096, allocations: 8.031 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.341e-05/0.4097, allocations: 88.12 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.4099, allocations: 210.3 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.879e-05/0.41, allocations: 158.6 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.218e-05/0.41, allocations: 150.6 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.57e-05/0.4101, allocations: 109 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.4101, allocations: 75.28 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.474e-05/0.4102, allocations: 154.6 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.207e-05/0.4103, allocations: 150.6 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.926e-05/0.4103, allocations: 150.6 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.4107, allocations: 449.5 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.983e-05/0.4108, allocations: 173.1 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.4108, allocations: 84.08 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.4109, allocations: 75.28 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.4109, allocations: 109.8 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.4109, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.478e-05/0.411, allocations: 45.55 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/0.4111, allocations: 130.7 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.4113, allocations: 231 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.4113, allocations: 29.7 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.4114, allocations: 108.1 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.4114, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.4115, allocations: 45.62 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4116, allocations: 326.8 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-05/0.4117, allocations: 55.95 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.61e-05/0.4118, allocations: 59.91 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.412, allocations: 135.2 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.412, allocations: 4 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003418/0.4123, allocations: 181.4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.4123, allocations: 8 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4123, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4123, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/0.4123, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.4123, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.273e-05/0.4124, allocations: 19.78 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.4124, allocations: 4 kB / 1.331 GB, free: 12.38 MB / 1.029 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.0001396/0.4126, allocations: 205.6 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.189e-05/0.4126, allocations: 112.9 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.901e-05/0.4127, allocations: 129.4 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.289e-05/0.4128, allocations: 180.3 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.571e-05/0.4129, allocations: 180.2 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.502e-05/0.413, allocations: 180.3 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.4132, allocations: 388.8 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.647e-05/0.4133, allocations: 109 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.4133, allocations: 109 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.501e-05/0.4134, allocations: 180.2 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.391e-05/0.4135, allocations: 180.3 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.647e-05/0.4136, allocations: 180.2 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.386e-05/0.4136, allocations: 180.2 kB / 1.334 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.4138, allocations: 323.9 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.4139, allocations: 112.9 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.658e-05/0.414, allocations: 184.3 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.283e-05/0.414, allocations: 104.9 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.4141, allocations: 184.3 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/0.4142, allocations: 104.9 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001365/0.4143, allocations: 160.6 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4143, allocations: 0 / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002478/0.4146, allocations: 16 kB / 1.335 GB, free: 8.766 MB / 1.029 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.0001777/0.4147, allocations: 182.5 kB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001356/0.4149, allocations: 59.95 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4149, allocations: 0 / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.4149, allocations: 0 / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.4153, allocations: 465 kB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.4157, allocations: 335.7 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.999e-05/0.4158, allocations: 106.9 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.4159, allocations: 11.44 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4159, allocations: 0 / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of Templates: time 0.002871/0.4187, allocations: 1.172 MB / 1.337 GB, free: 6.387 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.599912737030536]