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.232/2.232, allocations: 248.7 MB / 256.2 MB, free: 7.031 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.001459/0.001459, allocations: 178.1 kB / 315.4 MB, free: 4.008 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.087/2.087, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 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.001203/0.001203, allocations: 90.53 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.544e-05/3.521e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2537, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8867/1.14, allocations: 132.5 MB / 1.014 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/1.141, allocations: 72.39 kB / 1.014 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04194/1.183, allocations: 8.69 MB / 1.022 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.415e-06/1.183, allocations: 4 kB / 1.022 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.616e-05/1.183, 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.001788/1.185, allocations: 0.6045 MB / 1.023 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/1.185, allocations: 10.66 kB / 1.023 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/1.185, allocations: 27.72 kB / 1.023 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/1.185, allocations: 195.6 kB / 1.023 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002681/1.185, allocations: 251.8 kB / 1.023 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.852e-05/1.185, allocations: 31.44 kB / 1.023 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005047/1.186, allocations: 139.4 kB / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005456/1.187, allocations: 222.7 kB / 1.024 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/1.187, allocations: 4 kB / 1.024 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/1.187, allocations: 0 / 1.024 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/1.187, allocations: 4 kB / 1.024 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/1.188, allocations: 0.7581 MB / 1.024 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/1.189, allocations: 176.2 kB / 1.024 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/1.189, allocations: 107.3 kB / 1.025 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.804e-05/1.189, allocations: 19.28 kB / 1.025 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007163/1.19, allocations: 268.3 kB / 1.025 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 3.306e-06/1.19, allocations: 0 / 1.025 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.0009546/1.191, allocations: 308.3 kB / 1.025 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.733e-05/1.191, allocations: 114.3 kB / 1.025 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/1.192, allocations: 151.4 kB / 1.025 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.047e-05/1.192, allocations: 25.7 kB / 1.025 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.731e-05/1.192, allocations: 118.5 kB / 1.025 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/1.192, allocations: 144.6 kB / 1.026 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/1.192, allocations: 0 / 1.026 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001772/1.192, allocations: 343.4 kB / 1.026 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/1.193, allocations: 117.9 kB / 1.026 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004527/1.193, allocations: 220.7 kB / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/1.193, allocations: 133.5 kB / 1.026 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/1.193, 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.001119/1.195, allocations: 400.7 kB / 1.027 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/1.195, allocations: 8 kB / 1.027 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/1.195, allocations: 4 kB / 1.027 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/1.195, allocations: 8 kB / 1.027 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000788/1.196, allocations: 99.25 kB / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/1.196, allocations: 4 kB / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005475/1.196, allocations: 59.66 kB / 1.027 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/1.196, allocations: 23.12 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.000211/1.196, allocations: 141.4 kB / 1.027 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008535/1.197, allocations: 304.7 kB / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.512e-05/1.197, allocations: 23.72 kB / 1.027 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/1.198, allocations: 23.34 kB / 1.027 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/1.198, allocations: 8 kB / 1.027 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/1.198, allocations: 4 kB / 1.027 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/1.198, allocations: 3.984 kB / 1.027 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/1.198, allocations: 311.8 kB / 1.028 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/1.198, allocations: 0 / 1.028 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008803/1.199, allocations: 79.2 kB / 1.028 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/1.199, allocations: 4 kB / 1.028 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.829e-05/1.199, allocations: 11.67 kB / 1.028 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/1.199, allocations: 3.938 kB / 1.028 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.199, allocations: 4 kB / 1.028 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/1.2, allocations: 0.5288 MB / 1.028 GB, free: 9.289 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/1.201, allocations: 100.8 kB / 1.028 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/1.201, allocations: 4 kB / 1.028 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004627/1.201, allocations: 44.02 kB / 1.029 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/1.201, allocations: 46.5 kB / 1.029 GB, free: 9.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/1.201, allocations: 15.98 kB / 1.029 GB, free: 9.074 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001313/1.202, allocations: 121.8 kB / 1.029 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.3e-07/1.202, allocations: 4 kB / 1.029 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005713/1.202, allocations: 60 kB / 1.029 GB, free: 8.906 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.001826/1.204, allocations: 1.214 MB / 1.03 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009518/1.205, allocations: 325.3 kB / 1.03 GB, free: 7.57 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.205, allocations: 0 / 1.03 GB, free: 7.57 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004862/1.206, allocations: 156.3 kB / 1.03 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/1.206, allocations: 29.02 kB / 1.03 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/1.208, allocations: 0.5459 MB / 1.031 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/1.208, allocations: 0.7802 MB / 1.032 GB, free: 6.086 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003059/1.209, allocations: 39.45 kB / 1.032 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/1.209, allocations: 88.7 kB / 1.032 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of SimCode: time 1.342e-06/1.209, allocations: 0 / 1.032 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0569/1.266, allocations: 5.072 MB / 1.037 GB, free: 0.9805 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002901/1.266, allocations: 173.2 kB / 1.037 GB, free: 0.7852 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/3.765, allocations: 0 / 1.037 GB, free: 0.7852 MB / 0.6511 GB