Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.704/1.704, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001061/0.001061, allocations: 176.9 kB / 361.4 MB, free: 6.852 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.911/1.911, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0009568/0.0009571, allocations: 91.05 kB / 0.733 GB, free: 44.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.071e-05, allocations: 8 kB / 0.8519 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8182/0.8182, allocations: 115.3 MB / 0.9645 GB, free: 78.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/1.024, allocations: 137.8 MB / 1.099 GB, free: 1.941 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/1.025, allocations: 72.64 kB / 1.099 GB, free: 1.871 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02429/1.049, allocations: 8.569 MB / 1.108 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.233e-06/1.049, allocations: 1.312 kB / 1.108 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.764e-05/1.049, allocations: 8 kB / 1.108 GB, free: 9.367 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.001291/1.05, allocations: 0.6022 MB / 1.108 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/1.05, allocations: 12.03 kB / 1.108 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/1.05, allocations: 27.72 kB / 1.108 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/1.051, allocations: 199.5 kB / 1.108 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/1.051, allocations: 251.8 kB / 1.109 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.501e-05/1.051, allocations: 20 kB / 1.109 GB, free: 8.121 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003239/1.051, allocations: 128.9 kB / 1.109 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/1.052, allocations: 221.5 kB / 1.109 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/1.052, allocations: 7.859 kB / 1.109 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/1.052, allocations: 3.984 kB / 1.109 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/1.052, allocations: 11.94 kB / 1.109 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/1.053, allocations: 0.747 MB / 1.11 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/1.054, allocations: 169.3 kB / 1.11 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/1.054, allocations: 113.9 kB / 1.11 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.847e-05/1.054, allocations: 12.17 kB / 1.11 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004545/1.054, allocations: 281 kB / 1.11 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/1.054, allocations: 0 / 1.11 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.0006058/1.055, allocations: 297.9 kB / 1.111 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/1.055, allocations: 122 kB / 1.111 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/1.055, allocations: 150.5 kB / 1.111 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/1.055, allocations: 37.7 kB / 1.111 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/1.055, allocations: 113.3 kB / 1.111 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/1.056, allocations: 149.9 kB / 1.111 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/1.056, allocations: 0 / 1.111 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.056, allocations: 338.8 kB / 1.111 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/1.056, allocations: 121.5 kB / 1.112 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/1.056, allocations: 212.5 kB / 1.112 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/1.056, allocations: 137.9 kB / 1.112 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.056, allocations: 0 / 1.112 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006631/1.057, allocations: 399.6 kB / 1.112 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/1.057, allocations: 8 kB / 1.112 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/1.057, allocations: 4 kB / 1.112 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/1.057, allocations: 8 kB / 1.112 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/1.058, allocations: 95.92 kB / 1.112 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/1.058, allocations: 8 kB / 1.112 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/1.058, allocations: 59.64 kB / 1.112 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/1.058, allocations: 23.98 kB / 1.112 GB, free: 4.008 MB / 0.7136 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.0001478/1.058, allocations: 127 kB / 1.113 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004981/1.059, allocations: 311.7 kB / 1.113 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.673e-05/1.059, allocations: 23.72 kB / 1.113 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.905e-05/1.059, allocations: 29.95 kB / 1.113 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/1.059, allocations: 8 kB / 1.113 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.059, allocations: 0 / 1.113 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/1.059, allocations: 7.984 kB / 1.113 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/1.059, allocations: 317.7 kB / 1.113 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.059, allocations: 0 / 1.113 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/1.06, allocations: 75.89 kB / 1.113 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/1.06, allocations: 6.812 kB / 1.113 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/1.06, allocations: 4 kB / 1.113 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/1.06, allocations: 4 kB / 1.113 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.06, allocations: 3.984 kB / 1.113 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008337/1.061, allocations: 0.5272 MB / 1.114 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-05/1.061, allocations: 104.8 kB / 1.114 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/1.061, allocations: 3.984 kB / 1.114 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/1.061, allocations: 39.97 kB / 1.114 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/1.061, allocations: 39.94 kB / 1.114 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/1.061, allocations: 16 kB / 1.114 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001141/1.061, allocations: 112.1 kB / 1.114 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.061, allocations: 0 / 1.114 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004179/1.062, allocations: 71.89 kB / 1.114 GB, free: 2.105 MB / 0.7136 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.001399/1.063, allocations: 1.221 MB / 1.115 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006122/1.064, allocations: 322.8 kB / 1.116 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.064, allocations: 2.719 kB / 1.116 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002859/1.064, allocations: 151.9 kB / 1.116 GB, free: 392 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/1.064, allocations: 29.75 kB / 1.116 GB, free: 364 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/1.066, allocations: 0.5362 MB / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/1.066, allocations: 0.7764 MB / 1.117 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001955/1.066, allocations: 47.44 kB / 1.117 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/1.067, allocations: 83.41 kB / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of SimCode: time 7.41e-07/1.067, allocations: 0 / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/1.094, allocations: 5.073 MB / 1.122 GB, free: 9.875 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/1.094, allocations: 175.1 kB / 1.122 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.101/3.195, allocations: 3.562 kB / 1.122 GB, free: 9.684 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)