Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 197.8 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.835/2.835, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 71.83 kB / 0.8686 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9836/0.9858, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003084/0.9889, allocations: 1.28 MB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000357/0.9893, allocations: 67.73 kB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.9894, allocations: 0 / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.49e-05/0.9894, allocations: 0 / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.9896, allocations: 3.938 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.9898, allocations: 11.98 kB / 1.018 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.31e-05/0.9899, allocations: 43.89 kB / 1.018 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.27e-05/0.99, allocations: 0 / 1.018 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.575e-05/0.99, allocations: 8 kB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.9901, allocations: 17.42 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.9901, allocations: 0 / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.555e-05/0.9902, allocations: 4 kB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.9903, allocations: 48.44 kB / 1.018 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.571e-05/0.9904, allocations: 47.67 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.9906, allocations: 61.69 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9906, allocations: 4 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9906, allocations: 0 / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.9906, allocations: 0 / 1.018 GB, free: 1.195 MB / 0.7637 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.0005946/0.9912, allocations: 438.6 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.9912, allocations: 8.031 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.486e-05/0.9913, allocations: 84.12 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.9916, allocations: 274.7 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.432e-05/0.9917, allocations: 154.6 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.778e-05/0.9918, allocations: 150.6 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.9919, allocations: 104.9 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.3e-05/0.9919, allocations: 75.28 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.821e-05/0.992, allocations: 150.6 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.123e-05/0.9921, allocations: 150.6 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.573e-05/0.9922, allocations: 162.6 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.9926, allocations: 493.7 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.9928, allocations: 181.1 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.624e-05/0.9928, allocations: 80.14 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.9929, allocations: 79.28 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.862e-05/0.9929, allocations: 105.8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.9929, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.903e-05/0.993, allocations: 37.52 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.647e-05/0.9931, allocations: 130.6 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.9934, allocations: 238.9 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.9934, allocations: 25.7 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.9935, allocations: 104.1 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-06/0.9935, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.925e-05/0.9936, allocations: 49.67 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.9938, allocations: 330.7 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.454e-05/0.9939, allocations: 51.97 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.473e-05/0.994, allocations: 60 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.9942, allocations: 128.8 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.9942, allocations: 3.984 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003696/0.9946, allocations: 187.4 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.9946, allocations: 8 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.9946, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.9946, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.9946, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.9946, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.9947, allocations: 19.69 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.9947, allocations: 7.938 kB / 1.022 GB, free: 12.97 MB / 0.7794 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.0001876/0.9949, allocations: 205.1 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.882e-05/0.995, allocations: 112.9 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.124e-05/0.9951, allocations: 125.5 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.725e-05/0.9952, allocations: 176.3 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.095e-05/0.9953, allocations: 184.3 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.652e-05/0.9954, allocations: 180.2 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.9958, allocations: 445.1 kB / 1.023 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-05/0.9958, allocations: 104.9 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.221e-05/0.9959, allocations: 101 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.645e-05/0.996, allocations: 176.3 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/0.9961, allocations: 188.2 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001196/0.9963, allocations: 180.2 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.945e-05/0.9964, allocations: 184.2 kB / 1.024 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.9966, allocations: 315.6 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.9968, allocations: 197.8 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.9969, allocations: 180.3 kB / 1.025 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.997, allocations: 109.2 kB / 1.025 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.9971, allocations: 176.3 kB / 1.025 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.615e-05/0.9972, allocations: 105 kB / 1.025 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001591/0.9974, allocations: 164.5 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9974, allocations: 0 / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002816/0.9977, allocations: 19.94 kB / 1.026 GB, free: 9.195 MB / 0.7794 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.0002316/0.9979, allocations: 183.1 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001825/0.9981, allocations: 80 kB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9981, allocations: 0 / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.9981, allocations: 0 / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.9987, allocations: 0.5247 MB / 1.026 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005086/0.9992, allocations: 327.9 kB / 1.027 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.9996, allocations: 0.7121 MB / 1.027 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.589e-05/0.9996, allocations: 7.984 kB / 1.027 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.9996, allocations: 11.44 kB / 1.027 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.9996, allocations: 0 / 1.027 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of Templates: time 0.003805/1.003, allocations: 0.7149 MB / 1.028 GB, free: 6.582 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches