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.242/2.242, allocations: 248.7 MB / 256.2 MB, free: 7.043 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.001602/0.001602, allocations: 181.1 kB / 315.4 MB, free: 4.035 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.256/2.256, allocations: 205.3 MB / 0.5662 GB, free: 0.543 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001602/0.001603, allocations: 103.7 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.016e-05, allocations: 12 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2398, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8976/1.137, allocations: 132.5 MB / 1.014 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/1.138, allocations: 74.39 kB / 1.014 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04929/1.187, allocations: 8.696 MB / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.034e-06/1.187, allocations: 0 / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.524e-05/1.187, allocations: 4 kB / 1.022 GB, free: 15.2 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.001726/1.189, allocations: 0.6032 MB / 1.023 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/1.189, allocations: 10.66 kB / 1.023 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/1.189, allocations: 35.7 kB / 1.023 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/1.189, allocations: 191.6 kB / 1.023 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000257/1.19, allocations: 247.8 kB / 1.023 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.949e-05/1.19, allocations: 31.47 kB / 1.023 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004789/1.19, allocations: 135.2 kB / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000559/1.191, allocations: 218.3 kB / 1.024 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/1.191, allocations: 4 kB / 1.024 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/1.191, allocations: 3.984 kB / 1.024 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/1.191, allocations: 4 kB / 1.024 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/1.193, allocations: 0.7546 MB / 1.024 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006223/1.194, allocations: 176.4 kB / 1.024 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/1.194, allocations: 113.1 kB / 1.025 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.531e-05/1.194, allocations: 12.11 kB / 1.025 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006432/1.195, allocations: 272.1 kB / 1.025 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 3.246e-06/1.195, allocations: 0.75 kB / 1.025 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.0009779/1.196, allocations: 306 kB / 1.025 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.963e-05/1.196, allocations: 118.3 kB / 1.025 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/1.196, allocations: 144.3 kB / 1.025 GB, free: 12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.029e-05/1.196, allocations: 29.69 kB / 1.025 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/1.196, allocations: 118.5 kB / 1.025 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/1.196, allocations: 143.2 kB / 1.026 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/1.196, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001797/1.197, allocations: 352.2 kB / 1.026 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/1.197, allocations: 116.1 kB / 1.026 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/1.197, allocations: 218.8 kB / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/1.198, allocations: 135.7 kB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/1.198, allocations: 3.938 kB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001112/1.199, allocations: 400.2 kB / 1.027 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/1.199, allocations: 8 kB / 1.027 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/1.199, allocations: 0 / 1.027 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/1.199, allocations: 8 kB / 1.027 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007761/1.2, allocations: 95.33 kB / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/1.2, allocations: 4 kB / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/1.201, allocations: 63.64 kB / 1.027 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/1.201, allocations: 23.06 kB / 1.027 GB, free: 10.54 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.0002063/1.201, allocations: 130.3 kB / 1.027 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008602/1.202, allocations: 308.2 kB / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.737e-05/1.202, allocations: 27.7 kB / 1.027 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/1.202, allocations: 29.78 kB / 1.027 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/1.202, allocations: 12 kB / 1.027 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.202, allocations: 0 / 1.027 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/1.202, allocations: 3.984 kB / 1.027 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005083/1.202, allocations: 318.2 kB / 1.028 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/1.202, allocations: 4 kB / 1.028 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000887/1.203, allocations: 71.89 kB / 1.028 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/1.203, allocations: 4 kB / 1.028 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.723e-05/1.203, allocations: 14.44 kB / 1.028 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/1.204, allocations: 8.688 kB / 1.028 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.204, allocations: 0 / 1.028 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/1.205, allocations: 0.5198 MB / 1.028 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/1.205, allocations: 100.8 kB / 1.028 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.243e-05/1.205, allocations: 15.67 kB / 1.029 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004731/1.206, allocations: 35.97 kB / 1.029 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/1.206, allocations: 46.86 kB / 1.029 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/1.206, allocations: 14.94 kB / 1.029 GB, free: 9.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001263/1.206, allocations: 121.2 kB / 1.029 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.206, allocations: 0 / 1.029 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005065/1.206, allocations: 63.98 kB / 1.029 GB, free: 8.902 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.001781/1.208, allocations: 1.21 MB / 1.03 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009095/1.209, allocations: 317.3 kB / 1.03 GB, free: 7.578 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.209, allocations: 384 / 1.03 GB, free: 7.578 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004314/1.21, allocations: 154.9 kB / 1.03 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/1.21, allocations: 32.31 kB / 1.03 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/1.212, allocations: 0.5512 MB / 1.031 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/1.212, allocations: 0.7725 MB / 1.032 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003222/1.213, allocations: 43.45 kB / 1.032 GB, free: 6.055 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/1.213, allocations: 84.72 kB / 1.032 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of SimCode: time 1.233e-06/1.213, allocations: 0 / 1.032 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04907/1.262, allocations: 5.061 MB / 1.037 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003117/1.262, allocations: 159.2 kB / 1.037 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/3.85, allocations: 3.938 kB / 1.037 GB, free: 0.793 MB / 0.6511 GB