Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01601/0.01601, allocations: 111.7 kB / 15.06 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001811/0.001811, allocations: 184.2 kB / 15.94 MB, free: 5.941 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.049/2.049, allocations: 194.6 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.243/2.243, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004737, allocations: 12 kB / 0.587 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5674/0.568, allocations: 98.72 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2095/0.7775, allocations: 125.3 MB / 0.8057 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.7778, allocations: 75.95 kB / 0.8058 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03603/0.8139, allocations: 8.705 MB / 0.8143 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.478e-06/0.8139, allocations: 4 kB / 0.8143 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.8139, allocations: 8 kB / 0.8143 GB, free: 8.215 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001362/0.8153, allocations: 0.6184 MB / 0.8149 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.8154, allocations: 8.031 kB / 0.8149 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.28e-05/0.8155, allocations: 31.62 kB / 0.8149 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.8157, allocations: 195.6 kB / 0.8151 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002822/0.8159, allocations: 263.8 kB / 0.8154 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.328e-05/0.816, allocations: 31.98 kB / 0.8154 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006669/0.8167, allocations: 265.7 kB / 0.8156 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.8168, allocations: 8 kB / 0.8157 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.8168, allocations: 4 kB / 0.8157 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.8168, allocations: 8 kB / 0.8157 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006163/0.8174, allocations: 192 kB / 0.8158 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.8191, allocations: 0.7973 MB / 0.8166 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006509/0.8198, allocations: 216.5 kB / 0.8168 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.845e-05/0.8198, allocations: 4.188 kB / 0.8168 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007309/0.8206, allocations: 323.8 kB / 0.8171 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 3.647e-06/0.8206, allocations: 0 / 0.8171 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.001502/0.8221, allocations: 490 kB / 0.8176 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.974e-05/0.8222, allocations: 126.7 kB / 0.8177 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.8224, allocations: 162.5 kB / 0.8179 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.8225, allocations: 37.7 kB / 0.8179 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.589e-05/0.8226, allocations: 113.3 kB / 0.818 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.8228, allocations: 153.9 kB / 0.8182 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.8229, allocations: 12 kB / 0.8182 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.8231, allocations: 342.8 kB / 0.8185 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/0.8235, allocations: 157.2 kB / 0.8187 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005264/0.8241, allocations: 256.8 kB / 0.8189 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.8245, allocations: 163.9 kB / 0.8191 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.8246, allocations: 3.984 kB / 0.8191 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001239/0.8258, allocations: 496.9 kB / 0.8195 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.8259, allocations: 8 kB / 0.8196 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.8259, allocations: 4 kB / 0.8196 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.8259, allocations: 7.984 kB / 0.8196 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/0.8264, allocations: 99.83 kB / 0.8197 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.8265, allocations: 11.94 kB / 0.8197 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.8268, allocations: 63.66 kB / 0.8197 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/0.8269, allocations: 24.64 kB / 0.8198 GB, free: 2.234 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002643/0.8272, allocations: 172 kB / 0.8199 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-05/0.8273, allocations: 27.62 kB / 0.8199 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.592e-05/0.8274, allocations: 29.88 kB / 0.82 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.8274, allocations: 8 kB / 0.82 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.8274, allocations: 3.984 kB / 0.82 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.68e-06/0.8274, allocations: 0 / 0.82 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/0.8279, allocations: 361.2 kB / 0.8203 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.885e-06/0.828, allocations: 0 / 0.8203 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/0.8285, allocations: 87.95 kB / 0.8204 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.204e-05/0.8286, allocations: 4 kB / 0.8204 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.632e-05/0.8286, allocations: 8 kB / 0.8204 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.021e-06/0.8286, allocations: 3.938 kB / 0.8204 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.256e-06/0.8286, allocations: 4 kB / 0.8204 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.8302, allocations: 0.6169 MB / 0.821 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.14e-05/0.8303, allocations: 104.8 kB / 0.8211 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.859e-05/0.8304, allocations: 12 kB / 0.8211 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.8307, allocations: 39.97 kB / 0.8212 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.8309, allocations: 51.92 kB / 0.8212 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.856e-05/0.8309, allocations: 23.92 kB / 0.8213 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001314/0.8311, allocations: 121.2 kB / 0.8214 GB, free: 460 kB / 0.6355 GB Notification: Performance of sort global known variables: time 6.65e-07/0.8311, allocations: 0 / 0.8214 GB, free: 460 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005018/0.8316, allocations: 83.94 kB / 0.8215 GB, free: 376 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000227/0.8318, allocations: 125.1 kB / 0.8216 GB, free: 244 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.8329, allocations: 387.5 kB / 0.8219 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.228e-06/0.833, allocations: 0 / 0.8219 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000534/0.8335, allocations: 202.4 kB / 0.8221 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.8339, allocations: 32.11 kB / 0.8222 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.8359, allocations: 0.7063 MB / 0.8229 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.8364, allocations: 0.7725 MB / 0.8236 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002527/0.8367, allocations: 43.12 kB / 0.8236 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.8368, allocations: 31.44 kB / 0.8237 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of SimCode: time 1.695e-06/0.8368, allocations: 0 / 0.8237 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of Templates: time 0.009571/0.8464, allocations: 3.025 MB / 0.8266 GB, free: 11.04 MB / 0.6511 GB