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.00143/0.00143, allocations: 111.3 kB / 17.13 MB, free: 6.008 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.001486/0.001486, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.497/1.497, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.938/2.938, allocations: 0.49 GB / 0.7923 GB, free: 1.254 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.002116/0.002116, allocations: 59.91 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103/1.105, allocations: 176.1 MB / 1.322 GB, free: 25.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001936/1.107, allocations: 1.236 MB / 1.323 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002057/1.107, allocations: 52.7 kB / 1.323 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.615e-05/1.107, allocations: 0 / 1.323 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/1.107, allocations: 0 / 1.323 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/1.108, allocations: 10.19 kB / 1.323 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000134/1.108, allocations: 14.12 kB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.341e-05/1.108, allocations: 12.72 kB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/1.108, allocations: 10.31 kB / 1.323 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.797e-05/1.108, allocations: 7.391 kB / 1.323 GB, free: 24.33 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/1.108, allocations: 13.72 kB / 1.323 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/1.108, allocations: 0 / 1.323 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.726e-05/1.108, allocations: 6.812 kB / 1.323 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.029e-05/1.108, allocations: 49.67 kB / 1.323 GB, free: 24.31 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/1.108, allocations: 41.34 kB / 1.323 GB, free: 24.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/1.108, allocations: 73.19 kB / 1.323 GB, free: 24.26 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.108, allocations: 3.125 kB / 1.323 GB, free: 24.26 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.182e-06/1.108, allocations: 0 / 1.323 GB, free: 24.26 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.34e-06/1.108, allocations: 3.938 kB / 1.323 GB, free: 24.25 MB / 1.061 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.0003606/1.109, allocations: 433.9 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/1.109, allocations: 18.64 kB / 1.324 GB, free: 23.83 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/1.109, allocations: 86.41 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/1.109, allocations: 265.8 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/1.109, allocations: 158.7 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/1.109, allocations: 150.6 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.307e-05/1.109, allocations: 110.6 kB / 1.325 GB, free: 23.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/1.109, allocations: 75.28 kB / 1.325 GB, free: 22.97 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/1.109, allocations: 150.6 kB / 1.325 GB, free: 22.82 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/1.109, allocations: 154.6 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/1.109, allocations: 157.2 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/1.109, allocations: 495.6 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.395e-05/1.109, allocations: 173.1 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/1.109, allocations: 86.69 kB / 1.326 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/1.109, allocations: 79.28 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/1.109, allocations: 109.8 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/1.109, allocations: 0 / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.777e-05/1.109, allocations: 50.08 kB / 1.326 GB, free: 21.51 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/1.109, allocations: 126.7 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/1.11, allocations: 228.1 kB / 1.326 GB, free: 21.24 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/1.11, allocations: 29.7 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/1.11, allocations: 109.1 kB / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/1.11, allocations: 0 / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/1.11, allocations: 37.67 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.952e-05/1.11, allocations: 331.6 kB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.754e-05/1.11, allocations: 57.61 kB / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.803e-05/1.11, allocations: 56.97 kB / 1.327 GB, free: 20.74 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/1.11, allocations: 132.2 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.11, allocations: 4.031 kB / 1.327 GB, free: 20.71 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000248/1.11, allocations: 182.8 kB / 1.327 GB, free: 20.65 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/1.11, allocations: 5.562 kB / 1.327 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/1.11, allocations: 0 / 1.327 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/1.11, allocations: 0 / 1.327 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/1.11, allocations: 0 / 1.327 GB, free: 20.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/1.11, allocations: 3.938 kB / 1.327 GB, free: 20.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/1.11, allocations: 18.72 kB / 1.327 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/1.11, allocations: 5 kB / 1.327 GB, free: 20.63 MB / 1.061 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.0001042/1.11, allocations: 208.5 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/1.11, allocations: 115.2 kB / 1.328 GB, free: 20.32 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/1.11, allocations: 119.5 kB / 1.328 GB, free: 20.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/1.11, allocations: 176.3 kB / 1.328 GB, free: 20.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.828e-05/1.11, allocations: 186.3 kB / 1.328 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/1.111, allocations: 176.3 kB / 1.328 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/1.111, allocations: 449.3 kB / 1.329 GB, free: 19.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/1.111, allocations: 107.8 kB / 1.329 GB, free: 19.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.37e-05/1.111, allocations: 101 kB / 1.329 GB, free: 18.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.903e-05/1.111, allocations: 183.7 kB / 1.329 GB, free: 18.79 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/1.111, allocations: 179 kB / 1.329 GB, free: 18.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-05/1.111, allocations: 184.2 kB / 1.329 GB, free: 18.42 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.449e-05/1.111, allocations: 179 kB / 1.33 GB, free: 18.24 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.864e-05/1.111, allocations: 325 kB / 1.33 GB, free: 17.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/1.111, allocations: 184.9 kB / 1.33 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/1.111, allocations: 183 kB / 1.33 GB, free: 17.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.246e-05/1.111, allocations: 108.6 kB / 1.33 GB, free: 17.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/1.111, allocations: 180.3 kB / 1.33 GB, free: 17.23 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/1.111, allocations: 107.7 kB / 1.331 GB, free: 17.12 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.598e-05/1.111, allocations: 153.2 kB / 1.331 GB, free: 17.03 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.111, allocations: 0 / 1.331 GB, free: 17.03 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002319/1.111, allocations: 19.7 kB / 1.331 GB, free: 17.03 MB / 1.061 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.0001314/1.111, allocations: 185.7 kB / 1.331 GB, free: 16.86 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001221/1.112, allocations: 66.78 kB / 1.331 GB, free: 16.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.112, allocations: 2.938 kB / 1.331 GB, free: 16.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/1.112, allocations: 0 / 1.331 GB, free: 16.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/1.112, allocations: 459.6 kB / 1.331 GB, free: 16.39 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/1.112, allocations: 326.8 kB / 1.332 GB, free: 16.13 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/1.112, allocations: 0.7089 MB / 1.332 GB, free: 15.43 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/1.112, allocations: 10.28 kB / 1.332 GB, free: 15.43 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/1.112, allocations: 0 / 1.332 GB, free: 15.43 MB / 1.061 GB Notification: Performance of Templates: time 0.002871/1.115, allocations: 1.131 MB / 1.334 GB, free: 15.29 MB / 1.061 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 -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: 12.041914699002518]