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.0007392/0.0007392, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004478/0.004478, allocations: 170 kB / 16.26 MB, free: 6.613 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.317/1.317, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.639/1.639, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005162/0.0005162, allocations: 20.06 kB / 0.6744 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.195, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.001915/0.1969, allocations: 1.672 MB / 0.7896 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009333/0.1979, allocations: 0.6749 MB / 0.7903 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.428e-05/0.1979, allocations: 4 kB / 0.7903 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/0.198, allocations: 15.8 kB / 0.7903 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.1981, allocations: 27.72 kB / 0.7904 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.1984, allocations: 131.8 kB / 0.7905 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.1987, allocations: 311.1 kB / 0.7908 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.1989, allocations: 44.38 kB / 0.7908 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.1991, allocations: 115.7 kB / 0.7909 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.1992, allocations: 131.4 kB / 0.7911 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.1993, allocations: 16 kB / 0.7911 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.15e-05/0.1993, allocations: 16 kB / 0.7911 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.1994, allocations: 59.8 kB / 0.7911 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.1995, allocations: 145.1 kB / 0.7913 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.1998, allocations: 287.2 kB / 0.7916 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1998, allocations: 0 / 0.7916 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1998, allocations: 0 / 0.7916 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.1998, allocations: 0 / 0.7916 GB, free: 7.805 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.001059/0.2009, allocations: 0.6082 MB / 0.7921 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2009, allocations: 8.031 kB / 0.7922 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.375e-05/0.201, allocations: 62.72 kB / 0.7922 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.201, allocations: 28.66 kB / 0.7922 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.2012, allocations: 204.7 kB / 0.7924 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/0.2014, allocations: 264.3 kB / 0.7927 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.2015, allocations: 32.28 kB / 0.7927 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.2019, allocations: 273.6 kB / 0.793 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.2019, allocations: 0 / 0.793 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.202, allocations: 12 kB / 0.793 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.202, allocations: 4 kB / 0.793 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004164/0.2024, allocations: 191.8 kB / 0.7932 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009278/0.2033, allocations: 0.7815 MB / 0.7939 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.2038, allocations: 215.7 kB / 0.7941 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.204, allocations: 134.5 kB / 0.7943 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.2041, allocations: 16.36 kB / 0.7943 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000487/0.2046, allocations: 315.2 kB / 0.7946 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.503e-06/0.2046, allocations: 0 / 0.7946 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.0009522/0.2055, allocations: 0.5 MB / 0.7951 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.2056, allocations: 118.8 kB / 0.7952 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.2057, allocations: 176.6 kB / 0.7954 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.2058, allocations: 37.7 kB / 0.7954 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.2059, allocations: 121.2 kB / 0.7955 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.206, allocations: 153.9 kB / 0.7957 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.614e-05/0.206, allocations: 57.69 kB / 0.7957 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2062, allocations: 338.8 kB / 0.796 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.2065, allocations: 157.2 kB / 0.7962 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.2068, allocations: 260.7 kB / 0.7964 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006013/0.2074, allocations: 402.1 kB / 0.7968 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2074, allocations: 0 / 0.7968 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007947/0.2082, allocations: 0.5085 MB / 0.7973 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2083, allocations: 8 kB / 0.7973 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2083, allocations: 0 / 0.7973 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2083, allocations: 8 kB / 0.7973 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.2086, allocations: 99.81 kB / 0.7974 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.2087, allocations: 8.641 kB / 0.7974 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.2089, allocations: 71.66 kB / 0.7975 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.209, allocations: 16 kB / 0.7975 GB, free: 1.266 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.0001567/0.2092, allocations: 164 kB / 0.7977 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.2092, allocations: 27.66 kB / 0.7977 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.028e-05/0.2093, allocations: 29.88 kB / 0.7977 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.2093, allocations: 8 kB / 0.7977 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.2093, allocations: 4 kB / 0.7977 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2093, allocations: 3.984 kB / 0.7977 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/0.2097, allocations: 353.2 kB / 0.7981 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2097, allocations: 3.938 kB / 0.7981 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.2101, allocations: 79.89 kB / 0.7982 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2101, allocations: 0 / 0.7982 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.2101, allocations: 8 kB / 0.7982 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2101, allocations: 4 kB / 0.7982 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2101, allocations: 4 kB / 0.7982 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.2112, allocations: 0.6057 MB / 0.7988 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.2112, allocations: 108.6 kB / 0.7989 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.2113, allocations: 11.98 kB / 0.7989 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.2115, allocations: 43.97 kB / 0.7989 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.2117, allocations: 55.92 kB / 0.799 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.2117, allocations: 15.98 kB / 0.799 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.253e-05/0.2118, allocations: 129.2 kB / 0.7991 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2118, allocations: 192 / 0.7991 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003154/0.2121, allocations: 76 kB / 0.7992 GB, free: 15.45 MB / 0.6231 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.001371/0.2135, allocations: 1.174 MB / 0.8003 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007238/0.2142, allocations: 409 kB / 0.8007 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2142, allocations: 0 / 0.8007 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003872/0.2146, allocations: 207.7 kB / 0.8009 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.215, allocations: 43.97 kB / 0.801 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004037/0.219, allocations: 3.293 MB / 0.8042 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.2194, allocations: 0.7686 MB / 0.8049 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001581/0.2196, allocations: 34.97 kB / 0.805 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.2197, allocations: 87.41 kB / 0.8051 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of SimCode: time 3.61e-07/0.2197, allocations: 3.938 kB / 0.8051 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.2356, allocations: 5.816 MB / 0.8107 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.2358, allocations: 224.4 kB / 0.811 GB, free: 3.359 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.104, allocations: 3.938 kB / 0.811 GB, free: 3.355 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)