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.000788/0.000788, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001049/0.001049, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.286/1.286, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.531/1.531, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0004724/0.0004724, allocations: 16.81 kB / 0.6739 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1895, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.001807/0.1914, allocations: 1.626 MB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008294/0.1922, allocations: 0.6518 MB / 0.7896 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.07e-05/0.1923, allocations: 4 kB / 0.7896 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.428e-05/0.1923, allocations: 11.86 kB / 0.7897 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.225e-05/0.1924, allocations: 35.7 kB / 0.7897 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.1927, allocations: 127.7 kB / 0.7898 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000223/0.193, allocations: 283.2 kB / 0.7901 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1931, allocations: 48.36 kB / 0.7901 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.1932, allocations: 107.7 kB / 0.7902 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.1934, allocations: 131.5 kB / 0.7904 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.1934, allocations: 16 kB / 0.7904 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.1e-05/0.1934, allocations: 16 kB / 0.7904 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.1935, allocations: 55.8 kB / 0.7904 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.1936, allocations: 65.58 kB / 0.7905 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.1937, allocations: 203.7 kB / 0.7907 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1937, allocations: 4 kB / 0.7907 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1938, allocations: 0 / 0.7907 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.1938, allocations: 0 / 0.7907 GB, free: 8.445 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.0009683/0.1947, allocations: 0.6158 MB / 0.7913 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.1948, allocations: 8.031 kB / 0.7913 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.967e-05/0.1948, allocations: 58.55 kB / 0.7914 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.1949, allocations: 35.64 kB / 0.7914 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.195, allocations: 203.5 kB / 0.7916 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/0.1952, allocations: 259.8 kB / 0.7918 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.677e-05/0.1952, allocations: 43.83 kB / 0.7919 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.1957, allocations: 257.8 kB / 0.7921 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1957, allocations: 3.984 kB / 0.7921 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.1957, allocations: 12 kB / 0.7921 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.1957, allocations: 4 kB / 0.7922 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003723/0.1961, allocations: 187.8 kB / 0.7923 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008779/0.197, allocations: 0.7817 MB / 0.7931 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/0.1974, allocations: 208.3 kB / 0.7933 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.1977, allocations: 142.9 kB / 0.7934 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-05/0.1977, allocations: 12.08 kB / 0.7934 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004553/0.1982, allocations: 315.5 kB / 0.7937 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.603e-06/0.1982, allocations: 0 / 0.7937 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.0008789/0.1991, allocations: 493.3 kB / 0.7942 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.1991, allocations: 118.8 kB / 0.7943 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.1993, allocations: 176.6 kB / 0.7945 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.1993, allocations: 37.7 kB / 0.7945 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/0.1994, allocations: 117.2 kB / 0.7946 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.567e-05/0.1995, allocations: 153.9 kB / 0.7948 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/0.1995, allocations: 8 kB / 0.7948 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.322e-05/0.1996, allocations: 342.8 kB / 0.7951 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002678/0.1999, allocations: 153.2 kB / 0.7953 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.2002, allocations: 260.6 kB / 0.7955 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.2005, allocations: 175.9 kB / 0.7957 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.2005, allocations: 4 kB / 0.7957 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007266/0.2012, allocations: 496.8 kB / 0.7962 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2012, allocations: 4 kB / 0.7962 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2013, allocations: 8 kB / 0.7962 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.2013, allocations: 4 kB / 0.7962 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.2016, allocations: 107.8 kB / 0.7963 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.2016, allocations: 7.938 kB / 0.7963 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.2019, allocations: 71.59 kB / 0.7964 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.2019, allocations: 20 kB / 0.7964 GB, free: 2.246 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 ($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.0001304/0.2021, allocations: 160 kB / 0.7965 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.2021, allocations: 27.67 kB / 0.7966 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.872e-05/0.2022, allocations: 33.88 kB / 0.7966 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2022, allocations: 7.938 kB / 0.7966 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2022, allocations: 0 / 0.7966 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.2022, allocations: 3.984 kB / 0.7966 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.2025, allocations: 357.2 kB / 0.7969 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2025, allocations: 4 kB / 0.7969 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003601/0.2029, allocations: 67.91 kB / 0.797 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.2029, allocations: 7.984 kB / 0.797 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.2029, allocations: 15.95 kB / 0.797 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.2029, allocations: 4 kB / 0.797 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2029, allocations: 4.641 kB / 0.797 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009002/0.2038, allocations: 0.5988 MB / 0.7976 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.2039, allocations: 104.7 kB / 0.7977 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.204, allocations: 11.98 kB / 0.7977 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.2042, allocations: 43.92 kB / 0.7978 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.2042, allocations: 43.94 kB / 0.7978 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.2043, allocations: 16 kB / 0.7978 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.411e-05/0.2044, allocations: 129.1 kB / 0.798 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2044, allocations: 0 / 0.798 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002913/0.2047, allocations: 80 kB / 0.798 GB, free: 460 kB / 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 (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.001166/0.2058, allocations: 1.164 MB / 0.7992 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006555/0.2065, allocations: 403.6 kB / 0.7996 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2065, allocations: 3.938 kB / 0.7996 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.2068, allocations: 183.8 kB / 0.7997 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.2071, allocations: 45.8 kB / 0.7998 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.2096, allocations: 1.862 MB / 0.8016 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.2099, allocations: 0.7646 MB / 0.8023 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001563/0.2101, allocations: 38.97 kB / 0.8024 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.2102, allocations: 83.41 kB / 0.8025 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of SimCode: time 6.82e-07/0.2102, allocations: 7.938 kB / 0.8025 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.225, allocations: 5.548 MB / 0.8079 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/0.2252, allocations: 210.8 kB / 0.8081 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/2.314, allocations: 8 kB / 0.8081 GB, free: 6.18 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/linux/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) Environment - environmentSimulation: