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.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01106/0.01106, allocations: 106.6 kB / 15.05 MB, free: 5.93 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.001133/0.001133, allocations: 186.4 kB / 15.94 MB, free: 5.895 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 1.967/1.967, allocations: 194.5 MB / 211.2 MB, free: 11.06 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.257/2.257, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007398/0.00074, allocations: 16 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6682/0.669, allocations: 98.72 MB / 0.6835 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2277/0.8968, allocations: 125.3 MB / 0.8058 GB, free: 0.8945 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.8971, allocations: 71.95 kB / 0.8059 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.04118/0.9383, allocations: 8.709 MB / 0.8144 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.874e-06/0.9384, allocations: 0 / 0.8144 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.9384, allocations: 4 kB / 0.8144 GB, free: 8.098 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.001746/0.9402, allocations: 0.6144 MB / 0.815 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.9402, allocations: 12.03 kB / 0.815 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.224e-05/0.9403, allocations: 50.55 kB / 0.815 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.734e-05/0.9405, allocations: 35.7 kB / 0.8151 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.9406, allocations: 195.6 kB / 0.8153 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002789/0.9409, allocations: 267.8 kB / 0.8155 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.42e-05/0.941, allocations: 31.95 kB / 0.8155 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008255/0.9419, allocations: 261.9 kB / 0.8158 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.9419, allocations: 11.84 kB / 0.8158 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.942, allocations: 11.98 kB / 0.8158 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.942, allocations: 4 kB / 0.8158 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007916/0.9428, allocations: 191.8 kB / 0.816 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.9447, allocations: 0.7974 MB / 0.8168 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007725/0.9455, allocations: 212.5 kB / 0.817 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.676e-05/0.9456, allocations: 20.16 kB / 0.817 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009024/0.9465, allocations: 307.6 kB / 0.8173 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 3.557e-06/0.9465, allocations: 0 / 0.8173 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.001849/0.9483, allocations: 493.4 kB / 0.8178 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.9485, allocations: 118.8 kB / 0.8179 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.9487, allocations: 162.5 kB / 0.818 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.552e-05/0.9488, allocations: 41.7 kB / 0.8181 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.949, allocations: 117.3 kB / 0.8182 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.9491, allocations: 150 kB / 0.8183 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.9492, allocations: 12 kB / 0.8183 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.9494, allocations: 346.8 kB / 0.8187 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005637/0.95, allocations: 157.2 kB / 0.8188 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006461/0.9506, allocations: 252.8 kB / 0.8191 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006054/0.9513, allocations: 171.9 kB / 0.8192 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.9513, allocations: 0 / 0.8192 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001554/0.9528, allocations: 496.8 kB / 0.8197 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.9529, allocations: 9.562 kB / 0.8197 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.9529, allocations: 7.938 kB / 0.8197 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/0.9529, allocations: 8 kB / 0.8197 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007503/0.9537, allocations: 95.89 kB / 0.8198 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.369e-05/0.9537, allocations: 11.98 kB / 0.8198 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/0.9543, allocations: 71.66 kB / 0.8199 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.9543, allocations: 20 kB / 0.8199 GB, free: 2.043 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.0002691/0.9546, allocations: 163.9 kB / 0.8201 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.501e-05/0.9547, allocations: 31.61 kB / 0.8201 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.9548, allocations: 29.88 kB / 0.8201 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.9548, allocations: 4 kB / 0.8201 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.9549, allocations: 4 kB / 0.8201 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.9549, allocations: 7.984 kB / 0.8201 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.9554, allocations: 349.2 kB / 0.8205 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.9555, allocations: 0 / 0.8205 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008022/0.9563, allocations: 79.89 kB / 0.8205 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.9563, allocations: 0 / 0.8205 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.191e-05/0.9564, allocations: 15.98 kB / 0.8206 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.9564, allocations: 8.641 kB / 0.8206 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.9564, allocations: 0 / 0.8206 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.9584, allocations: 0.6247 MB / 0.8212 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.086e-05/0.9585, allocations: 100.8 kB / 0.8213 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.646e-05/0.9586, allocations: 15.92 kB / 0.8213 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/0.959, allocations: 43.97 kB / 0.8213 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.9592, allocations: 43.94 kB / 0.8214 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/0.9593, allocations: 15.98 kB / 0.8214 GB, free: 404 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001425/0.9594, allocations: 121.2 kB / 0.8215 GB, free: 284 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9594, allocations: 0 / 0.8215 GB, free: 284 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004965/0.9599, allocations: 91.92 kB / 0.8216 GB, free: 192 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.002486/0.9624, allocations: 1.329 MB / 0.8229 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.9638, allocations: 399.7 kB / 0.8233 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.9639, allocations: 0 / 0.8233 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000647/0.9645, allocations: 192.7 kB / 0.8235 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.9649, allocations: 36.23 kB / 0.8235 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.9679, allocations: 2.689 MB / 0.8261 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.9684, allocations: 0.7725 MB / 0.8269 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003331/0.9688, allocations: 34.97 kB / 0.8269 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.9691, allocations: 83.41 kB / 0.827 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of SimCode: time 1.493e-06/0.9691, allocations: 0 / 0.827 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03754/1.007, allocations: 5.456 MB / 0.8323 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003924/1.007, allocations: 188.7 kB / 0.8325 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/3.701, allocations: 0 / 0.8325 GB, free: 4.957 MB / 0.6511 GB