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_nonZeroStart.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_nonZeroStart,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.425/1.425, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009346/0.0009346, allocations: 169.5 kB / 327 MB, free: 2.125 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.706/1.706, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0008329/0.0008329, allocations: 78.59 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.000315, allocations: 13.12 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1838, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002562/0.1864, allocations: 1.743 MB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1876, allocations: 0.6901 MB / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.1878, allocations: 0 / 0.9033 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.111e-05/0.1878, allocations: 15.8 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.188, allocations: 31.7 kB / 0.9034 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004605/0.1885, allocations: 135.8 kB / 0.9035 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.1888, allocations: 307.1 kB / 0.9038 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.189, allocations: 40.38 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.1892, allocations: 115.7 kB / 0.9039 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.1894, allocations: 139.4 kB / 0.9041 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.28e-05/0.1895, allocations: 12 kB / 0.9041 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.242e-05/0.1895, allocations: 16 kB / 0.9041 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.363e-05/0.1896, allocations: 63.78 kB / 0.9041 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.1897, allocations: 141.1 kB / 0.9043 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.19, allocations: 287.2 kB / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.19, allocations: 0 / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.693e-06/0.19, allocations: 0 / 0.9046 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.19, allocations: 0 / 0.9046 GB, free: 59.66 MB / 0.6042 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.001084/0.1911, allocations: 0.6082 MB / 0.9051 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.1911, allocations: 8.031 kB / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.137e-05/0.1912, allocations: 54.73 kB / 0.9052 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.186e-05/0.1913, allocations: 44.48 kB / 0.9053 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.1914, allocations: 192.8 kB / 0.9054 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.1916, allocations: 268.3 kB / 0.9057 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.677e-05/0.1917, allocations: 32.3 kB / 0.9057 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004681/0.1922, allocations: 269.7 kB / 0.906 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.1922, allocations: 3.984 kB / 0.906 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.1922, allocations: 8 kB / 0.906 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1922, allocations: 7.938 kB / 0.906 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.1926, allocations: 195.8 kB / 0.9062 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000982/0.1936, allocations: 0.7737 MB / 0.9069 GB, free: 57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004729/0.1941, allocations: 211.7 kB / 0.9071 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.1944, allocations: 142.5 kB / 0.9073 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.1944, allocations: 12.36 kB / 0.9073 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004993/0.1949, allocations: 319.2 kB / 0.9076 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 2.945e-06/0.1949, allocations: 0 / 0.9076 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.000984/0.1959, allocations: 0.4931 MB / 0.9081 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.196, allocations: 118.8 kB / 0.9082 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.1961, allocations: 179.4 kB / 0.9084 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.1962, allocations: 41.7 kB / 0.9084 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.1962, allocations: 117.3 kB / 0.9085 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.404e-05/0.1963, allocations: 145.9 kB / 0.9087 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.1963, allocations: 16 kB / 0.9087 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.093e-05/0.1964, allocations: 338.8 kB / 0.909 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.1967, allocations: 157.2 kB / 0.9091 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.197, allocations: 264.6 kB / 0.9094 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/0.1976, allocations: 398.1 kB / 0.9098 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1976, allocations: 4 kB / 0.9098 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007638/0.1983, allocations: 0.5008 MB / 0.9103 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1984, allocations: 4 kB / 0.9103 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1984, allocations: 4 kB / 0.9103 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.1984, allocations: 8 kB / 0.9103 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.1988, allocations: 99.77 kB / 0.9104 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.1988, allocations: 4 kB / 0.9104 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.1991, allocations: 71.64 kB / 0.9104 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.314e-05/0.1991, allocations: 20 kB / 0.9105 GB, free: 53.18 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.1993, allocations: 163.9 kB / 0.9106 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.1993, allocations: 31.56 kB / 0.9107 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.894e-05/0.1994, allocations: 33.86 kB / 0.9107 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.1994, allocations: 8 kB / 0.9107 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.1994, allocations: 4 kB / 0.9107 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.1994, allocations: 0 / 0.9107 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.1997, allocations: 357.2 kB / 0.911 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1997, allocations: 3.938 kB / 0.911 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.2001, allocations: 71.89 kB / 0.9111 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.2001, allocations: 4 kB / 0.9111 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.2001, allocations: 19.92 kB / 0.9111 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.2001, allocations: 4.062 kB / 0.9111 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2002, allocations: 11.94 kB / 0.9111 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009247/0.2011, allocations: 0.5979 MB / 0.9117 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.2012, allocations: 108.7 kB / 0.9118 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.2012, allocations: 4 kB / 0.9118 GB, free: 51.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.2015, allocations: 51.95 kB / 0.9119 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.2016, allocations: 55.92 kB / 0.9119 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.2016, allocations: 12 kB / 0.912 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.119e-05/0.2017, allocations: 125.2 kB / 0.9121 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2017, allocations: 0 / 0.9121 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003401/0.202, allocations: 80 kB / 0.9121 GB, free: 51.36 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001183/0.2032, allocations: 1.174 MB / 0.9133 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006775/0.2039, allocations: 400.6 kB / 0.9137 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2039, allocations: 3.938 kB / 0.9137 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003552/0.2043, allocations: 204.7 kB / 0.9139 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.2047, allocations: 43.97 kB / 0.9139 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.2083, allocations: 3.283 MB / 0.9171 GB, free: 46.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.2085, allocations: 0.7648 MB / 0.9179 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002058/0.2088, allocations: 42.89 kB / 0.9179 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.2089, allocations: 83.41 kB / 0.918 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.2089, allocations: 0 / 0.918 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.2236, allocations: 5.828 MB / 0.9237 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/0.2238, allocations: 241 kB / 0.9239 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/2.537, allocations: 0 / 0.9239 GB, free: 39.29 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)