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.669/1.669, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.001149/0.001149, allocations: 177 kB / 377.1 MB, free: 1.52 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.778/1.778, allocations: 205.4 MB / 0.6366 GB, free: 8.625 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.0008742/0.0008742, allocations: 95.91 kB / 0.7509 GB, free: 63.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003332, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2891, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8727/1.162, allocations: 139.6 MB / 1.125 GB, free: 35.04 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.162, allocations: 70.45 kB / 1.125 GB, free: 34.98 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02118/1.183, allocations: 8.654 MB / 1.133 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.789e-06/1.183, allocations: 0 / 1.133 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.329e-05/1.183, allocations: 4 kB / 1.133 GB, free: 28.61 MB / 0.7292 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.001248/1.185, allocations: 0.6251 MB / 1.134 GB, free: 28 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.972e-05/1.185, allocations: 17.19 kB / 1.134 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.839e-05/1.185, allocations: 55.67 kB / 1.134 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.482e-05/1.185, allocations: 41.41 kB / 1.134 GB, free: 27.89 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/1.185, allocations: 193.5 kB / 1.134 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/1.185, allocations: 268.5 kB / 1.134 GB, free: 27.35 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.163e-05/1.185, allocations: 33.11 kB / 1.134 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005649/1.186, allocations: 262 kB / 1.135 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/1.186, allocations: 3.906 kB / 1.135 GB, free: 27.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/1.186, allocations: 9.406 kB / 1.135 GB, free: 27.09 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/1.186, allocations: 5.031 kB / 1.135 GB, free: 27.09 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004401/1.187, allocations: 192.8 kB / 1.135 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/1.188, allocations: 0.8025 MB / 1.136 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/1.188, allocations: 215.6 kB / 1.136 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.149e-05/1.189, allocations: 9.641 kB / 1.136 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006204/1.189, allocations: 313 kB / 1.136 GB, free: 25.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=48): time 1.724e-06/1.189, allocations: 0 / 1.136 GB, free: 25.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48): time 0.001021/1.19, allocations: 0.4965 MB / 1.137 GB, free: 25.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.619e-05/1.19, allocations: 113 kB / 1.137 GB, free: 25.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/1.19, allocations: 156.3 kB / 1.137 GB, free: 24.97 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/1.191, allocations: 37.7 kB / 1.137 GB, free: 24.93 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/1.191, allocations: 122.6 kB / 1.137 GB, free: 24.81 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/1.191, allocations: 150.7 kB / 1.137 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/1.191, allocations: 8 kB / 1.137 GB, free: 24.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.191, allocations: 348.9 kB / 1.138 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002907/1.191, allocations: 148.9 kB / 1.138 GB, free: 24.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/1.192, allocations: 257.3 kB / 1.138 GB, free: 23.94 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/1.192, allocations: 170.1 kB / 1.138 GB, free: 23.78 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.192, allocations: 0 / 1.138 GB, free: 23.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007619/1.193, allocations: 499.6 kB / 1.139 GB, free: 23.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/1.193, allocations: 4.516 kB / 1.139 GB, free: 23.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.193, allocations: 4 kB / 1.139 GB, free: 23.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/1.193, allocations: 9.312 kB / 1.139 GB, free: 23.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/1.193, allocations: 96.62 kB / 1.139 GB, free: 23.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/1.193, allocations: 5.203 kB / 1.139 GB, free: 23.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/1.193, allocations: 73.78 kB / 1.139 GB, free: 23.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/1.193, allocations: 20.66 kB / 1.139 GB, free: 23.14 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 () * Number of clocked 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.0001628/1.194, allocations: 173.8 kB / 1.139 GB, free: 22.97 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/1.194, allocations: 25.08 kB / 1.139 GB, free: 22.95 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.076e-05/1.194, allocations: 31.47 kB / 1.139 GB, free: 22.92 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/1.194, allocations: 8.797 kB / 1.139 GB, free: 22.91 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.194, allocations: 4 kB / 1.139 GB, free: 22.91 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/1.194, allocations: 2.016 kB / 1.139 GB, free: 22.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/1.194, allocations: 364 kB / 1.139 GB, free: 22.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/1.194, allocations: 0.8438 kB / 1.139 GB, free: 22.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/1.195, allocations: 79.52 kB / 1.139 GB, free: 22.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.195, allocations: 0 / 1.139 GB, free: 22.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/1.195, allocations: 10.67 kB / 1.139 GB, free: 22.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.311e-06/1.195, allocations: 4.812 kB / 1.139 GB, free: 22.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/1.195, allocations: 4.656 kB / 1.139 GB, free: 22.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009552/1.196, allocations: 0.6183 MB / 1.14 GB, free: 21.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/1.196, allocations: 102.5 kB / 1.14 GB, free: 21.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/1.196, allocations: 17.91 kB / 1.14 GB, free: 21.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/1.196, allocations: 41.14 kB / 1.14 GB, free: 21.72 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/1.196, allocations: 37.83 kB / 1.14 GB, free: 21.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/1.196, allocations: 19.67 kB / 1.14 GB, free: 21.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.32e-05/1.196, allocations: 126.5 kB / 1.14 GB, free: 21.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.196, allocations: 0 / 1.14 GB, free: 21.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004554/1.197, allocations: 92.66 kB / 1.141 GB, free: 21.48 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 () * Number of clocked 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.198, allocations: 1.313 MB / 1.142 GB, free: 20.18 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007233/1.199, allocations: 393.8 kB / 1.142 GB, free: 19.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.199, allocations: 0 / 1.142 GB, free: 19.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003145/1.199, allocations: 195.2 kB / 1.142 GB, free: 19.66 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/1.199, allocations: 38.42 kB / 1.142 GB, free: 19.63 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/1.201, allocations: 2.682 MB / 1.145 GB, free: 16.96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/1.201, allocations: 0.7765 MB / 1.146 GB, free: 16.2 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001722/1.202, allocations: 40.5 kB / 1.146 GB, free: 16.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/1.202, allocations: 93.09 kB / 1.146 GB, free: 16.08 MB / 0.7292 GB Notification: Performance of SimCode: time 6.32e-07/1.202, allocations: 0 / 1.146 GB, free: 16.08 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0208/1.223, allocations: 5.43 MB / 1.151 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001658/1.223, allocations: 190.8 kB / 1.151 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/3.304, allocations: 0 / 1.151 GB, free: 12.74 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)