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.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,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.941/1.941, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.001705/0.001705, allocations: 184.4 kB / 361.4 MB, free: 6.836 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.232/2.232, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.001099/0.001099, allocations: 89.16 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.039e-05, allocations: 8 kB / 0.8519 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9235/0.9235, allocations: 115.3 MB / 0.9645 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2692/1.193, allocations: 137.9 MB / 1.099 GB, free: 1.891 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/1.193, allocations: 63.97 kB / 1.099 GB, free: 1.828 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03287/1.226, allocations: 8.566 MB / 1.108 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.763e-06/1.226, allocations: 4 kB / 1.108 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.769e-05/1.226, allocations: 8 kB / 1.108 GB, free: 9.328 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.001567/1.228, allocations: 0.6061 MB / 1.108 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/1.228, allocations: 12.03 kB / 1.108 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/1.228, allocations: 28.66 kB / 1.108 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/1.228, allocations: 187.6 kB / 1.108 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002983/1.229, allocations: 255.8 kB / 1.109 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-05/1.229, allocations: 19.98 kB / 1.109 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004955/1.229, allocations: 136.8 kB / 1.109 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006012/1.23, allocations: 217.5 kB / 1.109 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/1.23, allocations: 7.859 kB / 1.109 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/1.23, allocations: 4 kB / 1.109 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/1.23, allocations: 4 kB / 1.109 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/1.231, allocations: 0.7565 MB / 1.11 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/1.232, allocations: 168.2 kB / 1.11 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000261/1.232, allocations: 107 kB / 1.11 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.029e-05/1.232, allocations: 22.19 kB / 1.11 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005585/1.233, allocations: 274.6 kB / 1.11 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=48): time 2.926e-06/1.233, allocations: 0 / 1.11 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.000636/1.233, allocations: 301.8 kB / 1.111 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.233, allocations: 118.8 kB / 1.111 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/1.234, allocations: 154.5 kB / 1.111 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/1.234, allocations: 33.7 kB / 1.111 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.064e-05/1.234, allocations: 113.3 kB / 1.111 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/1.234, allocations: 134 kB / 1.111 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/1.234, allocations: 4 kB / 1.111 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.234, allocations: 346.7 kB / 1.111 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/1.235, allocations: 113.6 kB / 1.112 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/1.235, allocations: 228.5 kB / 1.112 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/1.235, allocations: 123.6 kB / 1.112 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/1.235, allocations: 4 kB / 1.112 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001025/1.236, allocations: 409.5 kB / 1.112 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/1.236, allocations: 4 kB / 1.112 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.237, allocations: 4 kB / 1.112 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/1.237, allocations: 5.688 kB / 1.112 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006323/1.237, allocations: 107.8 kB / 1.112 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/1.237, allocations: 4 kB / 1.112 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/1.238, allocations: 61.47 kB / 1.112 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.533e-05/1.238, allocations: 16 kB / 1.112 GB, free: 3.973 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.0002007/1.238, allocations: 127.2 kB / 1.113 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007594/1.239, allocations: 317.4 kB / 1.113 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/1.239, allocations: 27.72 kB / 1.113 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/1.239, allocations: 21.97 kB / 1.113 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/1.239, allocations: 8 kB / 1.113 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/1.239, allocations: 0 / 1.113 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/1.239, allocations: 7.984 kB / 1.113 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005589/1.24, allocations: 313.7 kB / 1.113 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.24, allocations: 0 / 1.113 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006362/1.24, allocations: 83.83 kB / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/1.24, allocations: 0 / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.195e-05/1.24, allocations: 7.984 kB / 1.113 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/1.24, allocations: 9.375 kB / 1.113 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.24, allocations: 6.625 kB / 1.113 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/1.242, allocations: 0.5155 MB / 1.114 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/1.242, allocations: 104.8 kB / 1.114 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-05/1.242, allocations: 8 kB / 1.114 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/1.242, allocations: 35.97 kB / 1.114 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/1.242, allocations: 40.03 kB / 1.114 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.549e-05/1.242, allocations: 23.92 kB / 1.114 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001438/1.242, allocations: 112.1 kB / 1.114 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/1.243, allocations: 4 kB / 1.114 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005983/1.243, allocations: 67.91 kB / 1.114 GB, free: 2.062 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.001275/1.244, allocations: 1.21 MB / 1.115 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005386/1.245, allocations: 328.2 kB / 1.116 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.245, allocations: 0 / 1.116 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002361/1.245, allocations: 153.3 kB / 1.116 GB, free: 352 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/1.246, allocations: 31.97 kB / 1.116 GB, free: 324 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/1.247, allocations: 0.5385 MB / 1.116 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/1.247, allocations: 0.7764 MB / 1.117 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001726/1.247, allocations: 43.45 kB / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/1.247, allocations: 83.41 kB / 1.117 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of SimCode: time 3.91e-07/1.247, allocations: 0 / 1.117 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/1.275, allocations: 5.078 MB / 1.122 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/1.275, allocations: 157.8 kB / 1.122 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/3.287, allocations: 0 / 1.122 GB, free: 9.656 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)