Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.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,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.779/1.779, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.001392/0.001392, allocations: 176.8 kB / 366.7 MB, free: 1.648 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.843/1.843, allocations: 205.3 MB / 0.626 GB, free: 7.172 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.0008889/0.0008889, allocations: 87.41 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.596e-05/3.585e-05, allocations: 8 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8201/0.8201, allocations: 116.3 MB / 0.9734 GB, free: 76.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/1.025, allocations: 138.8 MB / 1.109 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/1.025, allocations: 67.95 kB / 1.109 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02356/1.049, allocations: 8.57 MB / 1.117 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.454e-06/1.049, allocations: 0 / 1.117 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.835e-05/1.049, allocations: 4 kB / 1.117 GB, free: 2.664 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.001261/1.05, allocations: 0.606 MB / 1.118 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/1.05, allocations: 12.03 kB / 1.118 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/1.05, allocations: 31.7 kB / 1.118 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/1.051, allocations: 191.6 kB / 1.118 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/1.051, allocations: 251.8 kB / 1.118 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.914e-05/1.051, allocations: 20 kB / 1.118 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003135/1.051, allocations: 132.9 kB / 1.119 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/1.052, allocations: 220.1 kB / 1.119 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/1.052, allocations: 11.84 kB / 1.119 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/1.052, allocations: 0 / 1.119 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.052, allocations: 8 kB / 1.119 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/1.053, allocations: 0.7543 MB / 1.12 GB, free: 244 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/1.053, allocations: 176.3 kB / 1.12 GB, free: 40 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/1.053, allocations: 107 kB / 1.12 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/1.053, allocations: 13.5 kB / 1.12 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004208/1.054, allocations: 276.7 kB / 1.12 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 2.865e-06/1.054, allocations: 0 / 1.12 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.00059/1.055, allocations: 310.6 kB / 1.12 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/1.055, allocations: 114.8 kB / 1.12 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/1.055, allocations: 158.5 kB / 1.121 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/1.055, allocations: 29.7 kB / 1.121 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/1.055, allocations: 109.3 kB / 1.121 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000127/1.055, allocations: 142 kB / 1.121 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/1.055, allocations: 3.938 kB / 1.121 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.055, allocations: 342.8 kB / 1.121 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/1.055, allocations: 117.6 kB / 1.121 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/1.056, allocations: 216.5 kB / 1.122 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/1.056, allocations: 132.6 kB / 1.122 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.056, allocations: 5.969 kB / 1.122 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006182/1.057, allocations: 403.4 kB / 1.122 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/1.057, allocations: 8 kB / 1.122 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.057, allocations: 4 kB / 1.122 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.057, allocations: 4 kB / 1.122 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/1.057, allocations: 95.83 kB / 1.122 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/1.057, allocations: 15.92 kB / 1.122 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/1.057, allocations: 55.66 kB / 1.122 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/1.057, allocations: 20 kB / 1.122 GB, free: 13.3 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.0001315/1.058, allocations: 127.2 kB / 1.122 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004671/1.058, allocations: 316.4 kB / 1.123 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/1.058, allocations: 27.7 kB / 1.123 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.492e-05/1.058, allocations: 33.97 kB / 1.123 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/1.058, allocations: 7.312 kB / 1.123 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.058, allocations: 0 / 1.123 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/1.058, allocations: 3.984 kB / 1.123 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/1.059, allocations: 309.7 kB / 1.123 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.059, allocations: 3.938 kB / 1.123 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/1.059, allocations: 79.89 kB / 1.123 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/1.059, allocations: 0 / 1.123 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/1.059, allocations: 11.98 kB / 1.123 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/1.059, allocations: 10.81 kB / 1.123 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.059, allocations: 0 / 1.123 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007694/1.06, allocations: 0.5193 MB / 1.124 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/1.06, allocations: 100.8 kB / 1.124 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/1.06, allocations: 7.984 kB / 1.124 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/1.06, allocations: 35.97 kB / 1.124 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.06, allocations: 39.94 kB / 1.124 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/1.06, allocations: 16 kB / 1.124 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.273e-05/1.06, allocations: 116.1 kB / 1.124 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.06, allocations: 0 / 1.124 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003573/1.061, allocations: 67.89 kB / 1.124 GB, free: 11.39 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.001188/1.062, allocations: 1.219 MB / 1.125 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005591/1.063, allocations: 318.9 kB / 1.126 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.063, allocations: 0 / 1.126 GB, free: 9.824 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002498/1.063, allocations: 150 kB / 1.126 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/1.063, allocations: 40.72 kB / 1.126 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/1.064, allocations: 0.5341 MB / 1.126 GB, free: 9.066 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/1.065, allocations: 0.7764 MB / 1.127 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001841/1.065, allocations: 39.45 kB / 1.127 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/1.065, allocations: 87.41 kB / 1.127 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of SimCode: time 5.92e-07/1.065, allocations: 0 / 1.127 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/1.093, allocations: 5.056 MB / 1.132 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003112/1.094, allocations: 147.6 kB / 1.132 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/3.167, allocations: 0 / 1.132 GB, free: 2.992 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)