Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.229/2.229, allocations: 248.5 MB / 261.1 MB, free: 5.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001505, allocations: 178.7 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.1 MB / 0.571 GB, free: 11.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001126, allocations: 90.45 kB / 0.6754 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.375e-05/4.415e-05, allocations: 8 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2138, allocations: 106.3 MB / 0.8907 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8478/1.062, allocations: 132.2 MB / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/1.062, allocations: 73.33 kB / 1.02 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05062/1.113, allocations: 8.751 MB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.858e-06/1.113, allocations: 0 / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.255e-05/1.113, allocations: 4 kB / 1.028 GB, free: 11.7 MB / 0.6511 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.002816/1.116, allocations: 0.6015 MB / 1.029 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.086e-05/1.116, allocations: 8.031 kB / 1.029 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/1.116, allocations: 56.23 kB / 1.029 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/1.116, allocations: 35.7 kB / 1.029 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/1.116, allocations: 191.6 kB / 1.029 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004187/1.117, allocations: 265.8 kB / 1.03 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/1.117, allocations: 38.8 kB / 1.03 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009673/1.118, allocations: 242.5 kB / 1.03 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.142e-05/1.118, allocations: 7.984 kB / 1.03 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-05/1.118, allocations: 6.875 kB / 1.03 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/1.118, allocations: 8 kB / 1.03 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008024/1.119, allocations: 144 kB / 1.03 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002905/1.122, allocations: 0.7992 MB / 1.031 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009331/1.123, allocations: 189.3 kB / 1.031 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004763/1.124, allocations: 113.7 kB / 1.031 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.411e-05/1.124, allocations: 20.03 kB / 1.031 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000984/1.125, allocations: 293.1 kB / 1.031 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 4.939e-06/1.125, allocations: 0 / 1.031 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.001418/1.126, allocations: 326 kB / 1.032 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.106e-05/1.126, allocations: 118.7 kB / 1.032 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/1.126, allocations: 162.3 kB / 1.032 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.924e-05/1.127, allocations: 48.56 kB / 1.032 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.487e-05/1.127, allocations: 119.6 kB / 1.032 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/1.127, allocations: 143.2 kB / 1.032 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/1.127, allocations: 14.5 kB / 1.032 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.127, allocations: 343.2 kB / 1.033 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/1.127, allocations: 128.7 kB / 1.033 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004789/1.128, allocations: 231.8 kB / 1.033 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004423/1.128, allocations: 146.5 kB / 1.033 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/1.128, allocations: 4 kB / 1.033 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001195/1.13, allocations: 448.6 kB / 1.034 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/1.13, allocations: 8 kB / 1.034 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.13, allocations: 8 kB / 1.034 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/1.13, allocations: 4 kB / 1.034 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008629/1.131, allocations: 99.69 kB / 1.034 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.328e-05/1.131, allocations: 8 kB / 1.034 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005307/1.131, allocations: 72.53 kB / 1.034 GB, free: 6.801 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/1.131, allocations: 23.14 kB / 1.034 GB, free: 6.781 MB / 0.6511 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 () * 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.000205/1.132, allocations: 140.4 kB / 1.034 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.888e-05/1.132, allocations: 31.64 kB / 1.034 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/1.132, allocations: 30.34 kB / 1.034 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/1.132, allocations: 4 kB / 1.034 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.132, allocations: 0 / 1.034 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/1.132, allocations: 11.98 kB / 1.034 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005622/1.132, allocations: 362.4 kB / 1.034 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/1.132, allocations: 0 / 1.034 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008677/1.133, allocations: 70.47 kB / 1.034 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/1.133, allocations: 4 kB / 1.034 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.269e-05/1.133, allocations: 15.11 kB / 1.034 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/1.133, allocations: 8.062 kB / 1.034 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.133, allocations: 0 / 1.034 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/1.135, allocations: 0.5663 MB / 1.035 GB, free: 5.699 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/1.135, allocations: 104.7 kB / 1.035 GB, free: 5.578 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.501e-05/1.135, allocations: 14.8 kB / 1.035 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004774/1.136, allocations: 46.16 kB / 1.035 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/1.136, allocations: 42.14 kB / 1.035 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/1.136, allocations: 15.31 kB / 1.035 GB, free: 5.484 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001378/1.136, allocations: 125.4 kB / 1.035 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.136, allocations: 4 kB / 1.035 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005221/1.137, allocations: 84.48 kB / 1.035 GB, free: 5.305 MB / 0.6511 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 () * 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.00202/1.139, allocations: 1.252 MB / 1.037 GB, free: 4.164 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001041/1.14, allocations: 346.9 kB / 1.037 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.14, allocations: 0 / 1.037 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005051/1.14, allocations: 163.6 kB / 1.037 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/1.141, allocations: 34.19 kB / 1.037 GB, free: 3.777 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/1.143, allocations: 0.5994 MB / 1.038 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/1.143, allocations: 0.7764 MB / 1.038 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003042/1.143, allocations: 42.89 kB / 1.038 GB, free: 2.367 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/1.144, allocations: 89.09 kB / 1.039 GB, free: 2.332 MB / 0.6511 GB Notification: Performance of SimCode: time 1.793e-06/1.144, allocations: 0 / 1.039 GB, free: 2.332 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/1.176, allocations: 5.584 MB / 1.044 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003296/1.177, allocations: 172.9 kB / 1.044 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/3.851, allocations: 0 / 1.044 GB, free: 12.7 MB / 0.6667 GB