Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.657/2.657, allocations: 287.3 MB / 302.3 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001563, allocations: 193.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.175/2.175, allocations: 205.4 MB / 0.6295 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 97.81 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005315/0.0005315, allocations: 15.42 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2188, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9784/1.197, allocations: 138.4 MB / 1.113 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/1.198, allocations: 71.44 kB / 1.114 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03843/1.236, allocations: 8.665 MB / 1.122 GB, free: 30.51 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.294e-06/1.236, allocations: 0 / 1.122 GB, free: 30.51 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.323e-05/1.236, allocations: 3.906 kB / 1.122 GB, free: 30.51 MB / 0.698 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.00176/1.238, allocations: 0.63 MB / 1.123 GB, free: 30.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/1.238, allocations: 11.56 kB / 1.123 GB, free: 30.07 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/1.238, allocations: 61.2 kB / 1.123 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.635e-05/1.238, allocations: 26.91 kB / 1.123 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/1.238, allocations: 194.1 kB / 1.123 GB, free: 29.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002892/1.239, allocations: 265.2 kB / 1.123 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-05/1.239, allocations: 31.06 kB / 1.123 GB, free: 29.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000738/1.239, allocations: 265.1 kB / 1.123 GB, free: 29.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/1.24, allocations: 3.906 kB / 1.123 GB, free: 29.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.106e-05/1.24, allocations: 14.56 kB / 1.123 GB, free: 29.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/1.24, allocations: 3.844 kB / 1.123 GB, free: 29.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006999/1.24, allocations: 185.7 kB / 1.124 GB, free: 29.44 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/1.242, allocations: 0.8046 MB / 1.124 GB, free: 28.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007498/1.243, allocations: 207.7 kB / 1.125 GB, free: 28.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.719e-05/1.243, allocations: 18.58 kB / 1.125 GB, free: 28.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007887/1.244, allocations: 310 kB / 1.125 GB, free: 28.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 3.297e-06/1.244, allocations: 0 / 1.125 GB, free: 28.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.001745/1.246, allocations: 0.4952 MB / 1.125 GB, free: 28.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.246, allocations: 120.4 kB / 1.126 GB, free: 28.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/1.246, allocations: 152.5 kB / 1.126 GB, free: 28.51 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.592e-05/1.246, allocations: 40.02 kB / 1.126 GB, free: 28.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.975e-05/1.246, allocations: 117.8 kB / 1.126 GB, free: 28.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/1.246, allocations: 143.1 kB / 1.126 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/1.246, allocations: 14.81 kB / 1.126 GB, free: 28.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.247, allocations: 346.6 kB / 1.126 GB, free: 27.99 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005077/1.247, allocations: 150.5 kB / 1.126 GB, free: 27.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005506/1.248, allocations: 257.6 kB / 1.127 GB, free: 27.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005355/1.248, allocations: 162.9 kB / 1.127 GB, free: 27.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.248, allocations: 7.516 kB / 1.127 GB, free: 27.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001384/1.25, allocations: 0.4901 MB / 1.127 GB, free: 27.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/1.25, allocations: 7.656 kB / 1.127 GB, free: 27.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.25, allocations: 3.938 kB / 1.127 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/1.25, allocations: 14.91 kB / 1.127 GB, free: 27.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007243/1.25, allocations: 95.7 kB / 1.127 GB, free: 27.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/1.251, allocations: 7.844 kB / 1.127 GB, free: 27.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/1.251, allocations: 78.22 kB / 1.128 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.762e-05/1.251, allocations: 18.72 kB / 1.128 GB, free: 27.75 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.0002861/1.251, allocations: 169.8 kB / 1.128 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.947e-05/1.251, allocations: 30.02 kB / 1.128 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.154e-05/1.252, allocations: 30.81 kB / 1.128 GB, free: 27.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.547e-06/1.252, allocations: 6.531 kB / 1.128 GB, free: 27.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/1.252, allocations: 3.969 kB / 1.128 GB, free: 27.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.507e-06/1.252, allocations: 0 / 1.128 GB, free: 27.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004811/1.252, allocations: 358.7 kB / 1.128 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.252, allocations: 4 kB / 1.128 GB, free: 27.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007843/1.253, allocations: 80.83 kB / 1.128 GB, free: 27.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/1.253, allocations: 0 / 1.128 GB, free: 27.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/1.253, allocations: 16.16 kB / 1.128 GB, free: 27.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/1.253, allocations: 0 / 1.128 GB, free: 27.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.253, allocations: 0 / 1.128 GB, free: 27.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/1.255, allocations: 0.6255 MB / 1.129 GB, free: 27.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/1.255, allocations: 106.9 kB / 1.129 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.008e-05/1.255, allocations: 10.34 kB / 1.129 GB, free: 27.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/1.256, allocations: 46.17 kB / 1.129 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/1.256, allocations: 40.59 kB / 1.129 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.481e-05/1.256, allocations: 19.14 kB / 1.129 GB, free: 27.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001396/1.256, allocations: 125.5 kB / 1.129 GB, free: 27.03 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.7e-07/1.256, allocations: 0 / 1.129 GB, free: 27.03 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004994/1.256, allocations: 82.81 kB / 1.129 GB, free: 27.03 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.003104/1.26, allocations: 1.321 MB / 1.131 GB, free: 26.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001247/1.261, allocations: 390.8 kB / 1.131 GB, free: 26.19 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.261, allocations: 0 / 1.131 GB, free: 26.19 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006061/1.262, allocations: 185.1 kB / 1.131 GB, free: 26.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/1.262, allocations: 44.75 kB / 1.131 GB, free: 26.17 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/1.265, allocations: 2.688 MB / 1.134 GB, free: 23.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/1.265, allocations: 0.775 MB / 1.135 GB, free: 23.13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003727/1.266, allocations: 42.59 kB / 1.135 GB, free: 23.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/1.266, allocations: 93.8 kB / 1.135 GB, free: 23.11 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/1.266, allocations: 0 / 1.135 GB, free: 23.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03381/1.3, allocations: 5.441 MB / 1.14 GB, free: 21.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/1.3, allocations: 202.6 kB / 1.14 GB, free: 21.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.693/3.993, allocations: 6.953 kB / 1.14 GB, free: 21.36 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)