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.001343/0.001343, allocations: 84.67 kB / 19.76 MB, free: 2.023 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.001436/0.001436, allocations: 156.4 kB / 23.01 MB, free: 4.961 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.47/1.47, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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 2.893/2.893, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 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.002118/0.002118, allocations: 67.89 kB / 0.9819 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149/1.151, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002241/1.153, allocations: 1.238 MB / 1.155 GB, free: 32.46 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002624/1.153, allocations: 51.75 kB / 1.155 GB, free: 32.43 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/1.153, allocations: 0 / 1.155 GB, free: 32.43 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.477e-05/1.153, allocations: 3.938 kB / 1.155 GB, free: 32.43 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001098/1.153, allocations: 2.875 kB / 1.155 GB, free: 32.43 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/1.154, allocations: 13.44 kB / 1.155 GB, free: 32.42 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.184e-05/1.154, allocations: 15.36 kB / 1.155 GB, free: 32.42 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.917e-05/1.154, allocations: 2.812 kB / 1.155 GB, free: 32.42 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.315e-05/1.154, allocations: 6.438 kB / 1.155 GB, free: 32.41 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.702e-05/1.154, allocations: 20.94 kB / 1.155 GB, free: 32.4 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/1.154, allocations: 2.656 kB / 1.155 GB, free: 32.4 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-05/1.154, allocations: 6.25 kB / 1.155 GB, free: 32.39 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.846e-05/1.154, allocations: 48.83 kB / 1.155 GB, free: 32.39 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/1.154, allocations: 32.38 kB / 1.155 GB, free: 32.37 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/1.154, allocations: 79.91 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/1.154, allocations: 0 / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/1.154, allocations: 0 / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.651e-06/1.154, allocations: 7.938 kB / 1.155 GB, free: 32.34 MB / 1.076 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.000366/1.155, allocations: 348.7 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/1.155, allocations: 8.969 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/1.155, allocations: 93.81 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/1.155, allocations: 208.9 kB / 1.156 GB, free: 31.72 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/1.155, allocations: 157.6 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/1.155, allocations: 150.6 kB / 1.156 GB, free: 31.42 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.732e-05/1.155, allocations: 103.7 kB / 1.156 GB, free: 31.31 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/1.155, allocations: 79.22 kB / 1.156 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/1.155, allocations: 154.5 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/1.155, allocations: 154.2 kB / 1.157 GB, free: 30.93 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.622e-05/1.155, allocations: 161.4 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002084/1.155, allocations: 443.8 kB / 1.157 GB, free: 30.34 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.317e-05/1.155, allocations: 169.1 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/1.155, allocations: 90.8 kB / 1.158 GB, free: 30.08 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/1.155, allocations: 75.28 kB / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/1.155, allocations: 112.7 kB / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.155, allocations: 2.812 kB / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 7.534e-05/1.155, allocations: 36.55 kB / 1.158 GB, free: 29.85 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/1.155, allocations: 126.7 kB / 1.158 GB, free: 29.71 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/1.156, allocations: 237.9 kB / 1.158 GB, free: 29.56 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/1.156, allocations: 29.7 kB / 1.158 GB, free: 29.53 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.207e-05/1.156, allocations: 112.1 kB / 1.158 GB, free: 29.43 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/1.156, allocations: 0 / 1.158 GB, free: 29.43 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/1.156, allocations: 42.19 kB / 1.158 GB, free: 29.4 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.329e-05/1.156, allocations: 323.7 kB / 1.159 GB, free: 29.09 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.039e-05/1.156, allocations: 57.42 kB / 1.159 GB, free: 29.07 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.983e-05/1.156, allocations: 59.16 kB / 1.159 GB, free: 29.06 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/1.156, allocations: 138.9 kB / 1.159 GB, free: 29.04 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/1.156, allocations: 0 / 1.159 GB, free: 29.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002829/1.156, allocations: 174.2 kB / 1.159 GB, free: 28.98 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/1.156, allocations: 9.125 kB / 1.159 GB, free: 28.97 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.156, allocations: 0 / 1.159 GB, free: 28.97 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/1.156, allocations: 3.984 kB / 1.159 GB, free: 28.97 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.043e-06/1.156, allocations: 2.594 kB / 1.159 GB, free: 28.97 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/1.156, allocations: 0 / 1.159 GB, free: 28.97 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.968e-05/1.156, allocations: 14.34 kB / 1.159 GB, free: 28.96 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/1.156, allocations: 8.281 kB / 1.159 GB, free: 28.96 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 8.075e-05/1.156, allocations: 210.9 kB / 1.159 GB, free: 28.76 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/1.157, allocations: 114.1 kB / 1.159 GB, free: 28.64 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/1.157, allocations: 110.7 kB / 1.16 GB, free: 28.53 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/1.157, allocations: 183.2 kB / 1.16 GB, free: 28.35 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.322e-05/1.157, allocations: 190.8 kB / 1.16 GB, free: 28.16 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.861e-05/1.157, allocations: 182.8 kB / 1.16 GB, free: 27.97 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/1.157, allocations: 389.4 kB / 1.16 GB, free: 27.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/1.157, allocations: 107.9 kB / 1.161 GB, free: 27.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.515e-05/1.157, allocations: 104.9 kB / 1.161 GB, free: 27.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.704e-05/1.157, allocations: 179.1 kB / 1.161 GB, free: 27.18 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/1.157, allocations: 181.2 kB / 1.161 GB, free: 27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-05/1.157, allocations: 190.3 kB / 1.161 GB, free: 26.81 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.688e-05/1.157, allocations: 176.3 kB / 1.161 GB, free: 26.63 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.54e-05/1.157, allocations: 312 kB / 1.162 GB, free: 26.31 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/1.157, allocations: 129.4 kB / 1.162 GB, free: 26.19 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/1.157, allocations: 178.9 kB / 1.162 GB, free: 26.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-05/1.157, allocations: 101.3 kB / 1.162 GB, free: 25.9 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/1.157, allocations: 183.3 kB / 1.162 GB, free: 25.72 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/1.157, allocations: 104.2 kB / 1.162 GB, free: 25.61 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.324e-05/1.157, allocations: 152.7 kB / 1.162 GB, free: 25.52 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.157, allocations: 0 / 1.162 GB, free: 25.52 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002436/1.158, allocations: 16.75 kB / 1.162 GB, free: 25.52 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.0001428/1.158, allocations: 180.5 kB / 1.163 GB, free: 25.36 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001275/1.158, allocations: 70.14 kB / 1.163 GB, free: 25.34 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.158, allocations: 0 / 1.163 GB, free: 25.34 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.356e-06/1.158, allocations: 6.844 kB / 1.163 GB, free: 25.33 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/1.158, allocations: 459.6 kB / 1.163 GB, free: 24.88 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/1.158, allocations: 293.5 kB / 1.163 GB, free: 24.65 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.592e-05/1.159, allocations: 101.1 kB / 1.163 GB, free: 24.58 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.727e-05/1.159, allocations: 9.609 kB / 1.163 GB, free: 24.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/1.159, allocations: 15.31 kB / 1.164 GB, free: 24.56 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/1.159, allocations: 0 / 1.164 GB, free: 24.56 MB / 1.076 GB Notification: Performance of Templates: time 0.003247/1.162, allocations: 0.6946 MB / 1.164 GB, free: 24.41 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.327308848965913]