Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 107.3 kB / 15.33 MB, free: 0.5039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 199 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.1 MB / 222.1 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.598/1.598, allocations: 292.3 MB / 0.5485 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 75.22 kB / 0.6711 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2044, allocations: 114.5 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002883/0.2073, allocations: 2.034 MB / 0.785 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008894/0.2082, allocations: 0.6748 MB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.48e-05/0.2083, allocations: 4 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.41e-05/0.2084, allocations: 7.875 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.2085, allocations: 31.7 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.2089, allocations: 139.8 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.2091, allocations: 323.1 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.2093, allocations: 48.36 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.2094, allocations: 123.7 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.2096, allocations: 155.3 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.2097, allocations: 36 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.973e-05/0.2097, allocations: 28 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.2098, allocations: 75.78 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.2099, allocations: 139.4 kB / 0.7867 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.2101, allocations: 299.3 kB / 0.787 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2101, allocations: 0 / 0.787 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2101, allocations: 0 / 0.787 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2102, allocations: 0 / 0.787 GB, free: 9.656 MB / 0.6075 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.001076/0.2112, allocations: 0.6236 MB / 0.7876 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2113, allocations: 12.02 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.737e-05/0.2113, allocations: 58.67 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.237e-05/0.2114, allocations: 36.66 kB / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.2115, allocations: 200.8 kB / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.2117, allocations: 268.3 kB / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.2118, allocations: 28.28 kB / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.2122, allocations: 265.6 kB / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.2122, allocations: 0 / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.2123, allocations: 11.94 kB / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2123, allocations: 8 kB / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.2127, allocations: 175.9 kB / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009292/0.2136, allocations: 0.7776 MB / 0.7894 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004178/0.214, allocations: 203.7 kB / 0.7896 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.2143, allocations: 138.4 kB / 0.7897 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.2143, allocations: 16.34 kB / 0.7897 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004948/0.2148, allocations: 311.2 kB / 0.79 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.754e-06/0.2148, allocations: 0 / 0.79 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.0009007/0.2157, allocations: 484.1 kB / 0.7905 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.2158, allocations: 114.8 kB / 0.7906 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.216, allocations: 176.6 kB / 0.7908 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.216, allocations: 45.69 kB / 0.7908 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.2161, allocations: 121.2 kB / 0.7909 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.2162, allocations: 145.9 kB / 0.791 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.2163, allocations: 106.3 kB / 0.7911 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2164, allocations: 338.8 kB / 0.7915 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.2167, allocations: 149.2 kB / 0.7916 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003461/0.2171, allocations: 260.6 kB / 0.7919 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005579/0.2177, allocations: 398 kB / 0.7922 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2177, allocations: 0 / 0.7922 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007566/0.2184, allocations: 493.2 kB / 0.7927 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2185, allocations: 8 kB / 0.7927 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2185, allocations: 4.094 kB / 0.7927 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.2185, allocations: 11.98 kB / 0.7927 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.2189, allocations: 95.77 kB / 0.7928 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.2189, allocations: 11.98 kB / 0.7928 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.2191, allocations: 55.66 kB / 0.7929 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.2192, allocations: 20 kB / 0.7929 GB, free: 3.16 MB / 0.6075 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.000159/0.2193, allocations: 160 kB / 0.7931 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.2194, allocations: 31.64 kB / 0.7931 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.066e-05/0.2195, allocations: 33.88 kB / 0.7931 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2195, allocations: 4 kB / 0.7931 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2195, allocations: 0 / 0.7931 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.2195, allocations: 3.984 kB / 0.7931 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.2198, allocations: 345.2 kB / 0.7935 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2199, allocations: 7.938 kB / 0.7935 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.2202, allocations: 71.89 kB / 0.7935 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2202, allocations: 4 kB / 0.7935 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/0.2203, allocations: 19.98 kB / 0.7936 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.2203, allocations: 4 kB / 0.7936 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2203, allocations: 0 / 0.7936 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009211/0.2212, allocations: 0.5783 MB / 0.7941 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.2213, allocations: 108.9 kB / 0.7942 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.2213, allocations: 15.98 kB / 0.7943 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.2216, allocations: 31.91 kB / 0.7943 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.2217, allocations: 55.94 kB / 0.7943 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.819e-05/0.2217, allocations: 19.98 kB / 0.7944 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.46e-05/0.2218, allocations: 125.2 kB / 0.7945 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.2218, allocations: 0 / 0.7945 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002973/0.2221, allocations: 91.98 kB / 0.7946 GB, free: 1.371 MB / 0.6075 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.001174/0.2233, allocations: 1.139 MB / 0.7957 GB, free: 200 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007649/0.2241, allocations: 408.9 kB / 0.7961 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2241, allocations: 4 kB / 0.7961 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.2245, allocations: 203.7 kB / 0.7963 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.2248, allocations: 50.8 kB / 0.7963 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.2285, allocations: 3.236 MB / 0.7995 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.2287, allocations: 0.7686 MB / 0.8002 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001553/0.2289, allocations: 34.97 kB / 0.8003 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.2291, allocations: 95.39 kB / 0.8003 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.2291, allocations: 0 / 0.8003 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4806/0.7097, allocations: 6.117 MB / 0.8063 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002929/0.7101, allocations: 234 kB / 0.8065 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.002/2.712, allocations: 2.656 kB / 0.8065 GB, free: 5.051 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)