Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001672/0.001672, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002072/0.002072, allocations: 157.3 kB / 23.01 MB, free: 4.602 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.528/1.528, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.937/2.937, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002176/0.002176, allocations: 71.88 kB / 1.009 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147/1.149, allocations: 181.8 MB / 1.187 GB, free: 16.24 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002599/1.152, allocations: 1.244 MB / 1.188 GB, free: 15.37 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000251/1.152, allocations: 47.05 kB / 1.188 GB, free: 15.34 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.457e-05/1.152, allocations: 0 / 1.188 GB, free: 15.34 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.026e-05/1.152, allocations: 4.641 kB / 1.188 GB, free: 15.34 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/1.152, allocations: 8.859 kB / 1.188 GB, free: 15.34 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/1.152, allocations: 12.88 kB / 1.188 GB, free: 15.33 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.813e-05/1.152, allocations: 19.88 kB / 1.188 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/1.152, allocations: 0.6094 kB / 1.188 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.637e-05/1.152, allocations: 10.55 kB / 1.188 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.368e-05/1.152, allocations: 15.97 kB / 1.188 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/1.153, allocations: 0 / 1.188 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.096e-05/1.153, allocations: 9.953 kB / 1.188 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/1.153, allocations: 50.22 kB / 1.188 GB, free: 15.29 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/1.153, allocations: 32.66 kB / 1.188 GB, free: 15.27 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/1.153, allocations: 78.23 kB / 1.188 GB, free: 15.25 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.153, allocations: 4.562 kB / 1.188 GB, free: 15.24 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.834e-06/1.153, allocations: 0 / 1.188 GB, free: 15.24 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.851e-06/1.153, allocations: 0 / 1.188 GB, free: 15.24 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.0004009/1.153, allocations: 350.1 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/1.153, allocations: 10.47 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/1.153, allocations: 88.25 kB / 1.188 GB, free: 14.85 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/1.154, allocations: 210.5 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/1.154, allocations: 154.7 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/1.154, allocations: 155.9 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.524e-05/1.154, allocations: 102.9 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/1.154, allocations: 84.53 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/1.154, allocations: 155.1 kB / 1.189 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/1.154, allocations: 155.9 kB / 1.189 GB, free: 13.83 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/1.154, allocations: 154.6 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002294/1.154, allocations: 447.5 kB / 1.19 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.373e-05/1.154, allocations: 166.5 kB / 1.19 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/1.154, allocations: 90.09 kB / 1.19 GB, free: 12.98 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/1.154, allocations: 75.28 kB / 1.19 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/1.154, allocations: 107.8 kB / 1.19 GB, free: 12.8 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/1.154, allocations: 0 / 1.19 GB, free: 12.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 7.689e-05/1.154, allocations: 39.91 kB / 1.19 GB, free: 12.76 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.052e-05/1.154, allocations: 130.7 kB / 1.191 GB, free: 12.62 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/1.154, allocations: 236.7 kB / 1.191 GB, free: 12.47 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/1.154, allocations: 25.7 kB / 1.191 GB, free: 12.44 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/1.154, allocations: 107.5 kB / 1.191 GB, free: 12.34 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/1.154, allocations: 0 / 1.191 GB, free: 12.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.669e-05/1.154, allocations: 42.28 kB / 1.191 GB, free: 12.32 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.724e-05/1.155, allocations: 323.4 kB / 1.191 GB, free: 12 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.469e-05/1.155, allocations: 59.7 kB / 1.191 GB, free: 11.99 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.627e-05/1.155, allocations: 59.25 kB / 1.191 GB, free: 11.98 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/1.155, allocations: 136.2 kB / 1.192 GB, free: 11.95 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/1.155, allocations: 0 / 1.192 GB, free: 11.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003268/1.155, allocations: 181.1 kB / 1.192 GB, free: 11.89 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.155, allocations: 5.781 kB / 1.192 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/1.155, allocations: 0.6094 kB / 1.192 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/1.155, allocations: 0 / 1.192 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/1.155, allocations: 1.312 kB / 1.192 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/1.155, allocations: 0.5156 kB / 1.192 GB, free: 11.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.321e-05/1.155, allocations: 18.42 kB / 1.192 GB, free: 11.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/1.155, allocations: 11.27 kB / 1.192 GB, free: 11.87 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 9.194e-05/1.155, allocations: 207.3 kB / 1.192 GB, free: 11.68 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/1.156, allocations: 114.3 kB / 1.192 GB, free: 11.56 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/1.156, allocations: 120.2 kB / 1.192 GB, free: 11.44 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.596e-05/1.156, allocations: 182.3 kB / 1.192 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-05/1.156, allocations: 178.2 kB / 1.193 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.528e-05/1.156, allocations: 182.4 kB / 1.193 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/1.156, allocations: 394.2 kB / 1.193 GB, free: 10.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.848e-05/1.156, allocations: 102.8 kB / 1.193 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/1.156, allocations: 106.8 kB / 1.193 GB, free: 10.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.772e-05/1.156, allocations: 178.2 kB / 1.193 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/1.156, allocations: 187.1 kB / 1.194 GB, free: 9.918 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-05/1.156, allocations: 186.2 kB / 1.194 GB, free: 9.73 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.516e-05/1.156, allocations: 183.3 kB / 1.194 GB, free: 9.547 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.396e-05/1.156, allocations: 321.1 kB / 1.194 GB, free: 9.219 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/1.156, allocations: 117.5 kB / 1.194 GB, free: 9.102 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/1.156, allocations: 179.5 kB / 1.195 GB, free: 8.922 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.615e-05/1.156, allocations: 103.3 kB / 1.195 GB, free: 8.816 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/1.156, allocations: 182.2 kB / 1.195 GB, free: 8.633 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/1.156, allocations: 103.4 kB / 1.195 GB, free: 8.527 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001243/1.156, allocations: 162.9 kB / 1.195 GB, free: 8.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.156, allocations: 0 / 1.195 GB, free: 8.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002529/1.157, allocations: 18.34 kB / 1.195 GB, free: 8.43 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.0001318/1.157, allocations: 181.6 kB / 1.195 GB, free: 8.258 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000151/1.157, allocations: 62.7 kB / 1.195 GB, free: 8.246 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/1.157, allocations: 0 / 1.195 GB, free: 8.246 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/1.157, allocations: 4 kB / 1.195 GB, free: 8.242 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/1.157, allocations: 465.1 kB / 1.196 GB, free: 7.789 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/1.158, allocations: 292.1 kB / 1.196 GB, free: 7.562 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.732e-05/1.158, allocations: 102.5 kB / 1.196 GB, free: 7.484 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.032e-05/1.158, allocations: 9.328 kB / 1.196 GB, free: 7.48 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/1.158, allocations: 12.53 kB / 1.196 GB, free: 7.473 MB / 1.076 GB Notification: Performance of SimCode: time 2.71e-07/1.158, allocations: 0 / 1.196 GB, free: 7.473 MB / 1.076 GB Notification: Performance of Templates: time 0.003281/1.161, allocations: 0.6878 MB / 1.197 GB, free: 7.324 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.527591961086728]