Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.465/1.465, allocations: 249.5 MB / 257 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 180.8 kB / 316.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.3 MB / 0.5671 GB, free: 15.9 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008788/0.0008789, allocations: 90.17 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.254e-05/2.254e-05, allocations: 12 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1958, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6714/0.8673, allocations: 132.7 MB / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.8676, allocations: 74.02 kB / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02285/0.8904, allocations: 8.698 MB / 1.024 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8905, allocations: 0 / 1.024 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.8905, allocations: 4.75 kB / 1.024 GB, free: 13.62 MB / 0.6511 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.001098/0.8916, allocations: 0.596 MB / 1.024 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.8917, allocations: 8.031 kB / 1.024 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.929e-05/0.8918, allocations: 39.61 kB / 1.024 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.8919, allocations: 198.2 kB / 1.024 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/0.8921, allocations: 255.2 kB / 1.025 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.947e-05/0.8922, allocations: 24 kB / 1.025 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002544/0.8925, allocations: 130.9 kB / 1.025 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/0.8928, allocations: 227.7 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.8928, allocations: 3.938 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.8929, allocations: 3.984 kB / 1.025 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.8929, allocations: 4 kB / 1.025 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.8941, allocations: 0.7579 MB / 1.026 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.8945, allocations: 177.6 kB / 1.026 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.8947, allocations: 112.3 kB / 1.026 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/0.8947, allocations: 4.188 kB / 1.026 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003729/0.8951, allocations: 277.9 kB / 1.026 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 1.744e-06/0.8951, allocations: 0 / 1.026 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.0005086/0.8956, allocations: 299.2 kB / 1.027 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.151e-05/0.8957, allocations: 126.1 kB / 1.027 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.8958, allocations: 143.8 kB / 1.027 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.8959, allocations: 33.19 kB / 1.027 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.319e-05/0.8959, allocations: 119 kB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.8961, allocations: 138.6 kB / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.8961, allocations: 0 / 1.027 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.8962, allocations: 344.2 kB / 1.027 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.8964, allocations: 114.9 kB / 1.028 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.8967, allocations: 216 kB / 1.028 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.8969, allocations: 143.4 kB / 1.028 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8969, allocations: 4 kB / 1.028 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0005836/0.8975, allocations: 400 kB / 1.028 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.8975, allocations: 8 kB / 1.028 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.8975, allocations: 3.938 kB / 1.028 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.8976, allocations: 8 kB / 1.028 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.8979, allocations: 95.2 kB / 1.028 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.8979, allocations: 4 kB / 1.028 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.8982, allocations: 63.64 kB / 1.028 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.8983, allocations: 26.5 kB / 1.028 GB, free: 8.957 MB / 0.6511 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.0001275/0.8984, allocations: 130.6 kB / 1.029 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004322/0.8988, allocations: 301.5 kB / 1.029 GB, free: 8.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.8989, allocations: 27.62 kB / 1.029 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.704e-05/0.8989, allocations: 32.33 kB / 1.029 GB, free: 8.547 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.899, allocations: 8 kB / 1.029 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.899, allocations: 0 / 1.029 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.899, allocations: 3.984 kB / 1.029 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.8993, allocations: 308.2 kB / 1.029 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.8993, allocations: 4 kB / 1.029 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.8997, allocations: 71.89 kB / 1.029 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.8998, allocations: 7.938 kB / 1.029 GB, free: 8.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.8998, allocations: 10.88 kB / 1.029 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.8998, allocations: 7.984 kB / 1.029 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.8998, allocations: 0 / 1.029 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007814/0.9006, allocations: 0.5223 MB / 1.03 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-05/0.9007, allocations: 108.7 kB / 1.03 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.9007, allocations: 7.984 kB / 1.03 GB, free: 7.586 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.901, allocations: 35.97 kB / 1.03 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.543e-05/0.9011, allocations: 39.38 kB / 1.03 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.9011, allocations: 15.19 kB / 1.03 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.055e-05/0.9012, allocations: 125.2 kB / 1.03 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9012, allocations: 0 / 1.03 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003317/0.9016, allocations: 67.61 kB / 1.03 GB, free: 7.336 MB / 0.6511 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.001134/0.9027, allocations: 1.21 MB / 1.031 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004607/0.9032, allocations: 312.5 kB / 1.032 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9032, allocations: 4 kB / 1.032 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.9034, allocations: 151.5 kB / 1.032 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.9037, allocations: 35.67 kB / 1.032 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.9048, allocations: 0.5467 MB / 1.032 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.9052, allocations: 0.7803 MB / 1.033 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001649/0.9054, allocations: 39.45 kB / 1.033 GB, free: 4.484 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.9056, allocations: 90.22 kB / 1.033 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of SimCode: time 3.21e-07/0.9056, allocations: 0 / 1.033 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.9286, allocations: 5.066 MB / 1.038 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/0.9288, allocations: 158.4 kB / 1.038 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.778, allocations: 0 / 1.038 GB, free: 15.24 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)