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.269/1.269, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.0009174/0.0009175, allocations: 186 kB / 325.9 MB, free: 2.699 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.451/1.451, allocations: 205 MB / 0.576 GB, free: 21.01 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.0006748/0.0006747, allocations: 91.06 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003252, allocations: 15.88 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.192, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.001974/0.194, allocations: 1.768 MB / 0.898 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008413/0.1949, allocations: 0.694 MB / 0.8986 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.586e-05/0.1949, allocations: 0 / 0.8986 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.151e-05/0.195, allocations: 19.8 kB / 0.8987 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.908e-05/0.1951, allocations: 35.7 kB / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.1954, allocations: 131.8 kB / 0.8988 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.1956, allocations: 307.1 kB / 0.8991 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1958, allocations: 48.36 kB / 0.8992 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1959, allocations: 107.7 kB / 0.8993 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.196, allocations: 135.4 kB / 0.8994 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.1961, allocations: 16 kB / 0.8994 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.951e-05/0.1961, allocations: 12 kB / 0.8994 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.211e-05/0.1962, allocations: 63.78 kB / 0.8995 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.936e-05/0.1963, allocations: 115.4 kB / 0.8996 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.1965, allocations: 290.9 kB / 0.8999 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1965, allocations: 0 / 0.8999 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1965, allocations: 0 / 0.8999 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.1965, allocations: 0 / 0.8999 GB, free: 64.32 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.0008722/0.1974, allocations: 0.5966 MB / 0.9004 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1974, allocations: 12.03 kB / 0.9005 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.914e-05/0.1975, allocations: 62.72 kB / 0.9005 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.1975, allocations: 32.56 kB / 0.9005 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.04e-05/0.1976, allocations: 204.7 kB / 0.9007 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.1977, allocations: 260.3 kB / 0.901 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.1978, allocations: 32.36 kB / 0.901 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/0.1982, allocations: 269.7 kB / 0.9013 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.1982, allocations: 0 / 0.9013 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.1982, allocations: 12 kB / 0.9013 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.1982, allocations: 7.938 kB / 0.9013 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.1986, allocations: 191.8 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007784/0.1994, allocations: 0.7738 MB / 0.9022 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.1998, allocations: 215.8 kB / 0.9024 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.2, allocations: 146.4 kB / 0.9026 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.186e-05/0.2, allocations: 20.3 kB / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004173/0.2004, allocations: 311.2 kB / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 1.553e-06/0.2005, allocations: 0 / 0.9029 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.0007862/0.2012, allocations: 0.4961 MB / 0.9034 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.2013, allocations: 118.8 kB / 0.9035 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.805e-05/0.2014, allocations: 179.4 kB / 0.9037 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.2014, allocations: 37.7 kB / 0.9037 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.2015, allocations: 125.2 kB / 0.9038 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.275e-05/0.2016, allocations: 146 kB / 0.904 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.2016, allocations: 57.69 kB / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.809e-05/0.2017, allocations: 334.8 kB / 0.9043 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.2019, allocations: 161.2 kB / 0.9045 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.2022, allocations: 260.7 kB / 0.9047 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.2027, allocations: 406 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2027, allocations: 4 kB / 0.9051 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000631/0.2033, allocations: 0.4974 MB / 0.9056 GB, free: 58 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2034, allocations: 4 kB / 0.9056 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2034, allocations: 4 kB / 0.9056 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.2034, allocations: 12.03 kB / 0.9056 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.2037, allocations: 99.81 kB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2037, allocations: 7.938 kB / 0.9057 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.204, allocations: 71.64 kB / 0.9058 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.204, allocations: 20 kB / 0.9058 GB, free: 57.78 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 (movingMean_1.mode,$PRE.movingMean_1.mode,$whenCondition5,movingMean_2.mode,$PRE.movingMean_2.mode,$whenCondition6,movingMean_3.mode,$PRE.movingMean_3.mode,$whenCondition7,movingMean_4.mode,$PRE.movingMean_4.mode,$whenCondition8,movingMean_5.mode,$PRE.movingMean_5.mode,$whenCondition9,movingMean_6.mode,$PRE.movingMean_6.mode,$whenCondition3,movingMean_7.mode,$PRE.movingMean_7.mode,$whenCondition4,movingMean_8.mode,$PRE.movingMean_8.mode,$whenCondition1,movingMean_9.mode,$PRE.movingMean_9.mode,$whenCondition2) * 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.000106/0.2041, allocations: 164 kB / 0.906 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.2041, allocations: 31.56 kB / 0.906 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/0.2042, allocations: 33.88 kB / 0.906 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2042, allocations: 4 kB / 0.906 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2042, allocations: 0 / 0.906 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.2042, allocations: 7.984 kB / 0.9061 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.2045, allocations: 353.2 kB / 0.9064 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2045, allocations: 3.938 kB / 0.9064 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.2048, allocations: 71.91 kB / 0.9065 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.2049, allocations: 4 kB / 0.9065 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.2049, allocations: 11.98 kB / 0.9065 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2049, allocations: 4 kB / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2049, allocations: 4 kB / 0.9065 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008138/0.2057, allocations: 0.5988 MB / 0.9071 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/0.2058, allocations: 104.7 kB / 0.9072 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.2058, allocations: 16.05 kB / 0.9072 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.206, allocations: 52.09 kB / 0.9072 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.2061, allocations: 55.92 kB / 0.9073 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.2062, allocations: 19.92 kB / 0.9073 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.577e-05/0.2062, allocations: 125.2 kB / 0.9074 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2062, allocations: 0 / 0.9074 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002654/0.2065, allocations: 79.94 kB / 0.9075 GB, free: 55.96 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.001007/0.2075, allocations: 1.167 MB / 0.9086 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005482/0.2081, allocations: 394.7 kB / 0.909 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2081, allocations: 0 / 0.909 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.2084, allocations: 208.6 kB / 0.9092 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.2087, allocations: 48.09 kB / 0.9093 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/0.2116, allocations: 3.271 MB / 0.9125 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.2118, allocations: 0.7648 MB / 0.9132 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.212, allocations: 38.95 kB / 0.9132 GB, free: 49.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.2121, allocations: 87.41 kB / 0.9133 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of SimCode: time 1.323e-06/0.2121, allocations: 0 / 0.9133 GB, free: 49.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/0.3137, allocations: 5.823 MB / 0.919 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.3139, allocations: 235.5 kB / 0.9192 GB, free: 43.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.257, allocations: 0 / 0.9192 GB, free: 43.91 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)