Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.797/1.797, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.001034/0.001034, allocations: 176.8 kB / 366.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008415/0.0008413, allocations: 86.36 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.005e-05, allocations: 8 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.774/0.774, allocations: 116.3 MB / 0.9734 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2106/0.9846, allocations: 138.8 MB / 1.109 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.985, allocations: 71.95 kB / 1.109 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02339/1.008, allocations: 8.563 MB / 1.117 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.292e-06/1.008, allocations: 0 / 1.117 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.102e-05/1.008, allocations: 4 kB / 1.117 GB, free: 2.746 MB / 0.7136 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.001078/1.01, allocations: 0.6061 MB / 1.118 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/1.01, allocations: 8.031 kB / 1.118 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.25e-05/1.01, allocations: 27.72 kB / 1.118 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/1.01, allocations: 198 kB / 1.118 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/1.01, allocations: 255.8 kB / 1.118 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.365e-05/1.01, allocations: 16 kB / 1.118 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002861/1.01, allocations: 136.8 kB / 1.119 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/1.011, allocations: 216.1 kB / 1.119 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/1.011, allocations: 15.86 kB / 1.119 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/1.011, allocations: 7.969 kB / 1.119 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/1.011, allocations: 4 kB / 1.119 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/1.012, allocations: 0.7465 MB / 1.12 GB, free: 332 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/1.012, allocations: 176.2 kB / 1.12 GB, free: 128 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/1.013, allocations: 110.9 kB / 1.12 GB, free: 8 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.746e-05/1.013, allocations: 16.48 kB / 1.12 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004365/1.013, allocations: 274.9 kB / 1.12 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 1.863e-06/1.013, allocations: 0 / 1.12 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.0005518/1.014, allocations: 307.2 kB / 1.12 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/1.014, allocations: 114.8 kB / 1.12 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/1.014, allocations: 154.5 kB / 1.121 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/1.014, allocations: 29.7 kB / 1.121 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/1.014, allocations: 117.3 kB / 1.121 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/1.014, allocations: 150 kB / 1.121 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/1.014, allocations: 0 / 1.121 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.014, allocations: 338.8 kB / 1.121 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/1.015, allocations: 121.5 kB / 1.121 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/1.015, allocations: 220.5 kB / 1.122 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/1.015, allocations: 134.2 kB / 1.122 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.015, allocations: 0 / 1.122 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005858/1.016, allocations: 406.3 kB / 1.122 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/1.016, allocations: 4 kB / 1.122 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/1.016, allocations: 4 kB / 1.122 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/1.016, allocations: 8 kB / 1.122 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/1.016, allocations: 99.83 kB / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.016, allocations: 4 kB / 1.122 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/1.016, allocations: 59.64 kB / 1.122 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/1.016, allocations: 24 kB / 1.122 GB, free: 13.38 MB / 0.7292 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.0001327/1.017, allocations: 119.1 kB / 1.122 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004778/1.017, allocations: 313.2 kB / 1.123 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/1.017, allocations: 23.81 kB / 1.123 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.441e-05/1.017, allocations: 33.94 kB / 1.123 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.017, allocations: 4 kB / 1.123 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/1.017, allocations: 6.375 kB / 1.123 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/1.017, allocations: 3.984 kB / 1.123 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003203/1.018, allocations: 305.7 kB / 1.123 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/1.018, allocations: 4 kB / 1.123 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/1.018, allocations: 83.83 kB / 1.123 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/1.018, allocations: 7.281 kB / 1.123 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/1.018, allocations: 4 kB / 1.123 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.018, allocations: 3.938 kB / 1.123 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.018, allocations: 4 kB / 1.123 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007435/1.019, allocations: 0.5273 MB / 1.124 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/1.019, allocations: 100.8 kB / 1.124 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/1.019, allocations: 7.984 kB / 1.124 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/1.019, allocations: 35.97 kB / 1.124 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.503e-05/1.019, allocations: 43.97 kB / 1.124 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/1.019, allocations: 16 kB / 1.124 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.516e-05/1.019, allocations: 116.1 kB / 1.124 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/1.019, allocations: 0 / 1.124 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003034/1.02, allocations: 67.89 kB / 1.124 GB, free: 11.47 MB / 0.7292 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.001112/1.021, allocations: 1.214 MB / 1.125 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005176/1.021, allocations: 322.7 kB / 1.126 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.021, allocations: 0 / 1.126 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/1.022, allocations: 153.6 kB / 1.126 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/1.022, allocations: 32.11 kB / 1.126 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/1.023, allocations: 0.5379 MB / 1.126 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/1.023, allocations: 0.7764 MB / 1.127 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001605/1.023, allocations: 35.27 kB / 1.127 GB, free: 8.301 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/1.024, allocations: 87.41 kB / 1.127 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/1.024, allocations: 0 / 1.127 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/1.047, allocations: 5.07 MB / 1.132 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/1.048, allocations: 170.6 kB / 1.132 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/3.013, allocations: 0 / 1.132 GB, free: 3.062 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)