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.34/2.34, allocations: 251 MB / 265.9 MB, free: 11.7 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.00153/0.00153, allocations: 179.1 kB / 325.5 MB, free: 2.914 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.431/2.431, allocations: 205.4 MB / 0.5764 GB, free: 20.83 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.001134/0.001134, allocations: 99.44 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004838/0.0004839, allocations: 18.58 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2102, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2354/0.4456, allocations: 132.3 MB / 1.028 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.446, allocations: 79.88 kB / 1.028 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04188/0.4879, allocations: 8.784 MB / 1.037 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4879, allocations: 4 kB / 1.037 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.397e-05/0.488, allocations: 4 kB / 1.037 GB, free: 4.098 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.001779/0.4898, allocations: 0.6301 MB / 1.037 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.4898, allocations: 12.03 kB / 1.037 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.638e-05/0.4899, allocations: 50.55 kB / 1.037 GB, free: 3.344 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.691e-05/0.49, allocations: 35.62 kB / 1.037 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.4902, allocations: 191.6 kB / 1.038 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/0.4905, allocations: 267.8 kB / 1.038 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-05/0.4906, allocations: 31.95 kB / 1.038 GB, free: 2.727 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007984/0.4914, allocations: 269.6 kB / 1.038 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.4915, allocations: 0 / 1.038 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/0.4915, allocations: 8 kB / 1.038 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.4916, allocations: 4 kB / 1.038 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008006/0.4924, allocations: 195.8 kB / 1.038 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.4942, allocations: 0.8011 MB / 1.039 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008011/0.4951, allocations: 204.5 kB / 1.039 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.561e-05/0.4951, allocations: 12.19 kB / 1.039 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008703/0.496, allocations: 315.6 kB / 1.04 GB, free: 0.8164 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 3.216e-06/0.496, allocations: 4 kB / 1.04 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.001814/0.4979, allocations: 496.5 kB / 1.04 GB, free: 332 kB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.759e-05/0.498, allocations: 114.8 kB / 1.04 GB, free: 192 kB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.4982, allocations: 158.5 kB / 1.04 GB, free: 24 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.426e-05/0.4983, allocations: 37.7 kB / 1.04 GB, free: 15.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4984, allocations: 121.3 kB / 1.041 GB, free: 15.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.4986, allocations: 157.8 kB / 1.041 GB, free: 15.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.4987, allocations: 12 kB / 1.041 GB, free: 15.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.4989, allocations: 342.8 kB / 1.041 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000555/0.4995, allocations: 157.2 kB / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006666/0.5001, allocations: 257 kB / 1.041 GB, free: 14.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006097/0.5008, allocations: 167.9 kB / 1.042 GB, free: 14.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.5008, allocations: 0 / 1.042 GB, free: 14.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001517/0.5023, allocations: 0.4891 MB / 1.042 GB, free: 14.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.5024, allocations: 4 kB / 1.042 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.5024, allocations: 4 kB / 1.042 GB, free: 14.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.5024, allocations: 8 kB / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007688/0.5032, allocations: 99.83 kB / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.5032, allocations: 4.703 kB / 1.042 GB, free: 14.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005005/0.5037, allocations: 63.66 kB / 1.042 GB, free: 14.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-05/0.5038, allocations: 27.98 kB / 1.042 GB, free: 14.04 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.0002663/0.5041, allocations: 169.8 kB / 1.042 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.155e-05/0.5042, allocations: 23.72 kB / 1.042 GB, free: 13.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.888e-05/0.5043, allocations: 33.86 kB / 1.042 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.5043, allocations: 4 kB / 1.042 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.5043, allocations: 4.094 kB / 1.042 GB, free: 13.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.5043, allocations: 3.984 kB / 1.042 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005986/0.5049, allocations: 365.2 kB / 1.043 GB, free: 13.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.505, allocations: 3.938 kB / 1.043 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008527/0.5058, allocations: 83.89 kB / 1.043 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.475e-06/0.5058, allocations: 0 / 1.043 GB, free: 13.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/0.5059, allocations: 11.98 kB / 1.043 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.5059, allocations: 7.938 kB / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5059, allocations: 0 / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.5079, allocations: 0.6362 MB / 1.044 GB, free: 12.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.188e-05/0.5081, allocations: 100.8 kB / 1.044 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-05/0.5081, allocations: 12 kB / 1.044 GB, free: 12.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.5086, allocations: 39.95 kB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.5088, allocations: 47.94 kB / 1.044 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.941e-05/0.5088, allocations: 19.98 kB / 1.044 GB, free: 12.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001439/0.509, allocations: 120.1 kB / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/0.509, allocations: 0 / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005017/0.5095, allocations: 80 kB / 1.044 GB, free: 12.19 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.002401/0.5119, allocations: 1.323 MB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001369/0.5133, allocations: 395.1 kB / 1.046 GB, free: 10.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.5133, allocations: 0 / 1.046 GB, free: 10.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006492/0.514, allocations: 191.7 kB / 1.046 GB, free: 10.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.5144, allocations: 36.17 kB / 1.046 GB, free: 10.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.5175, allocations: 2.681 MB / 1.048 GB, free: 7.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.5181, allocations: 0.7764 MB / 1.049 GB, free: 6.629 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003478/0.5184, allocations: 42.95 kB / 1.049 GB, free: 6.586 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.5187, allocations: 87.41 kB / 1.049 GB, free: 6.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/0.5187, allocations: 0 / 1.049 GB, free: 6.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.5485, allocations: 5.455 MB / 1.055 GB, free: 1.25 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003992/0.549, allocations: 208.9 kB / 1.055 GB, free: 1.004 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.817/3.366, allocations: 7.562 kB / 1.055 GB, free: 1 MB / 0.698 GB