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.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,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",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.15/2.15, allocations: 251 MB / 265.9 MB, free: 11.66 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001558/0.001558, allocations: 176.2 kB / 325.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.515/2.515, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.001729/0.001728, allocations: 91.98 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006362/0.0006363, allocations: 11.97 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2096, allocations: 106.3 MB / 0.8988 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2341/0.4437, allocations: 132.3 MB / 1.028 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.444, allocations: 71.95 kB / 1.028 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04273/0.4868, allocations: 8.78 MB / 1.037 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4868, allocations: 0 / 1.037 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.4869, allocations: 4 kB / 1.037 GB, free: 4.047 MB / 0.6823 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.001929/0.4888, allocations: 0.634 MB / 1.037 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.4889, allocations: 12.03 kB / 1.037 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.489, allocations: 54.55 kB / 1.037 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.4891, allocations: 35.62 kB / 1.037 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.4893, allocations: 191.6 kB / 1.038 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002803/0.4896, allocations: 267.7 kB / 1.038 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.4898, allocations: 31.95 kB / 1.038 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008293/0.4906, allocations: 269.6 kB / 1.038 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.4907, allocations: 0 / 1.038 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.144e-05/0.4907, allocations: 8 kB / 1.038 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.4907, allocations: 4 kB / 1.038 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008188/0.4916, allocations: 192.9 kB / 1.038 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.4935, allocations: 0.805 MB / 1.039 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008143/0.4944, allocations: 208.4 kB / 1.039 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.179e-05/0.4945, allocations: 12.19 kB / 1.039 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009252/0.4954, allocations: 319.6 kB / 1.04 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 3.617e-06/0.4955, allocations: 0 / 1.04 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.001835/0.4973, allocations: 498.7 kB / 1.04 GB, free: 264 kB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.4974, allocations: 114.8 kB / 1.04 GB, free: 124 kB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.4977, allocations: 162.5 kB / 1.04 GB, free: 15.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.369e-05/0.4978, allocations: 41.7 kB / 1.04 GB, free: 15.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.4979, allocations: 121.3 kB / 1.041 GB, free: 15.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.4981, allocations: 153.8 kB / 1.041 GB, free: 15.63 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.4982, allocations: 12 kB / 1.041 GB, free: 15.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4984, allocations: 342.8 kB / 1.041 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/0.499, allocations: 153.2 kB / 1.041 GB, free: 15.13 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007012/0.4997, allocations: 252.8 kB / 1.041 GB, free: 14.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006254/0.5003, allocations: 175.9 kB / 1.042 GB, free: 14.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5003, allocations: 0 / 1.042 GB, free: 14.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001539/0.5019, allocations: 497.5 kB / 1.042 GB, free: 14.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.5019, allocations: 4 kB / 1.042 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.502, allocations: 4 kB / 1.042 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.502, allocations: 8 kB / 1.042 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007576/0.5028, allocations: 95.83 kB / 1.042 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.5028, allocations: 4 kB / 1.042 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005281/0.5033, allocations: 71.66 kB / 1.042 GB, free: 14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/0.5034, allocations: 23.98 kB / 1.042 GB, free: 13.98 MB / 0.698 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.0003092/0.5038, allocations: 173.8 kB / 1.042 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.435e-05/0.5039, allocations: 27.72 kB / 1.042 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.504, allocations: 33.86 kB / 1.042 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.504, allocations: 4 kB / 1.042 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.504, allocations: 4 kB / 1.042 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.504, allocations: 0 / 1.042 GB, free: 13.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005947/0.5046, allocations: 357.1 kB / 1.043 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.5047, allocations: 8 kB / 1.043 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008505/0.5055, allocations: 79.89 kB / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.652e-05/0.5056, allocations: 0 / 1.043 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.859e-05/0.5057, allocations: 23.92 kB / 1.043 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.5057, allocations: 4 kB / 1.043 GB, free: 13.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.5057, allocations: 0 / 1.043 GB, free: 13.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.5077, allocations: 0.6247 MB / 1.044 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.5079, allocations: 100.8 kB / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/0.508, allocations: 8 kB / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004516/0.5085, allocations: 48.14 kB / 1.044 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.5086, allocations: 39.94 kB / 1.044 GB, free: 12.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-05/0.5087, allocations: 23.92 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001538/0.5089, allocations: 124.1 kB / 1.044 GB, free: 12.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.42e-07/0.5089, allocations: 0 / 1.044 GB, free: 12.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005432/0.5094, allocations: 84 kB / 1.044 GB, free: 12.12 MB / 0.698 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.002499/0.512, allocations: 1.323 MB / 1.045 GB, free: 10.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001428/0.5134, allocations: 390.7 kB / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.5135, allocations: 4 kB / 1.046 GB, free: 10.37 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007085/0.5142, allocations: 183.7 kB / 1.046 GB, free: 10.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.5147, allocations: 28.17 kB / 1.046 GB, free: 10.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.5178, allocations: 2.692 MB / 1.048 GB, free: 7.367 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.5182, allocations: 0.7725 MB / 1.049 GB, free: 6.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003746/0.5186, allocations: 43.12 kB / 1.049 GB, free: 6.527 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.5189, allocations: 88.72 kB / 1.049 GB, free: 6.441 MB / 0.698 GB Notification: Performance of SimCode: time 1.132e-06/0.5189, allocations: 4 kB / 1.049 GB, free: 6.438 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03493/0.5539, allocations: 5.445 MB / 1.055 GB, free: 1.168 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003596/0.5543, allocations: 193.3 kB / 1.055 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.619/3.173, allocations: 3.938 kB / 1.055 GB, free: 0.918 MB / 0.698 GB