Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 111.8 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 194.7 kB / 20.03 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.119/1.119, allocations: 147.6 MB / 445.6 MB, free: 8.211 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 64.86 kB / 0.611 GB, free: 37.68 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1787, allocations: 83.15 MB / 0.6922 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003218/0.1819, allocations: 1.962 MB / 0.6941 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001107/0.183, allocations: 0.6418 MB / 0.6947 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.896e-05/0.1831, allocations: 3.219 kB / 0.6947 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.289e-05/0.1832, allocations: 19.69 kB / 0.6947 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.1834, allocations: 44.66 kB / 0.6948 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.1838, allocations: 149.9 kB / 0.6949 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003354/0.1842, allocations: 326.3 kB / 0.6952 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.1843, allocations: 45 kB / 0.6953 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.1845, allocations: 131.5 kB / 0.6954 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.1847, allocations: 151.3 kB / 0.6955 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.745e-05/0.1848, allocations: 32.81 kB / 0.6956 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.541e-05/0.1848, allocations: 30.25 kB / 0.6956 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.032e-05/0.1849, allocations: 76.16 kB / 0.6957 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.185, allocations: 136.4 kB / 0.6958 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.1854, allocations: 301.2 kB / 0.6961 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1854, allocations: 1.375 kB / 0.6961 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1854, allocations: 0 / 0.6961 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.1854, allocations: 0 / 0.6961 GB, free: 10.31 MB / 0.5137 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.001284/0.1867, allocations: 0.638 MB / 0.6967 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.1868, allocations: 9.625 kB / 0.6967 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.655e-05/0.1869, allocations: 61.59 kB / 0.6968 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.764e-05/0.187, allocations: 34.16 kB / 0.6968 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.1872, allocations: 195.6 kB / 0.697 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000313/0.1875, allocations: 261.9 kB / 0.6972 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.978e-05/0.1876, allocations: 31.92 kB / 0.6973 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006575/0.1883, allocations: 264.5 kB / 0.6975 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.1883, allocations: 1.375 kB / 0.6975 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.1883, allocations: 9.781 kB / 0.6975 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.1883, allocations: 5.875 kB / 0.6975 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000486/0.1888, allocations: 173.7 kB / 0.6977 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.1902, allocations: 0.7802 MB / 0.6985 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005876/0.1908, allocations: 211.2 kB / 0.6987 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/0.1911, allocations: 139.8 kB / 0.6988 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.097e-05/0.1912, allocations: 12.36 kB / 0.6988 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007327/0.1919, allocations: 307.3 kB / 0.6991 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 2.314e-06/0.192, allocations: 0 / 0.6991 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.001142/0.1931, allocations: 487.7 kB / 0.6996 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.556e-05/0.1932, allocations: 118.8 kB / 0.6997 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.1934, allocations: 183.5 kB / 0.6999 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.1934, allocations: 37.7 kB / 0.6999 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.977e-05/0.1935, allocations: 117.3 kB / 0.7 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.1937, allocations: 158.8 kB / 0.7002 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.1939, allocations: 106.3 kB / 0.7003 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.194, allocations: 338.8 kB / 0.7006 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.1944, allocations: 149.2 kB / 0.7007 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.1948, allocations: 256.7 kB / 0.701 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006884/0.1955, allocations: 394.1 kB / 0.7014 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1955, allocations: 0 / 0.7014 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009231/0.1964, allocations: 0.4894 MB / 0.7018 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1964, allocations: 4 kB / 0.7018 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.1965, allocations: 8 kB / 0.7018 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.1965, allocations: 8 kB / 0.7018 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.1969, allocations: 91.83 kB / 0.7019 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.1969, allocations: 7.938 kB / 0.7019 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.1972, allocations: 55.75 kB / 0.702 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/0.1973, allocations: 23.98 kB / 0.702 GB, free: 4.422 MB / 0.5137 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 (movAve1.mode,$PRE.movAve1.mode,$whenCondition5,movAve2.mode,$PRE.movAve2.mode,$whenCondition6,movAve3.mode,$PRE.movAve3.mode,$whenCondition7,movAve4.mode,$PRE.movAve4.mode,$whenCondition8,movAve5.mode,$PRE.movAve5.mode,$whenCondition9,movAve6.mode,$PRE.movAve6.mode,$whenCondition3,movAve7.mode,$PRE.movAve7.mode,$whenCondition4,movAve8.mode,$PRE.movAve8.mode,$whenCondition1,movAve9.mode,$PRE.movAve9.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.0001868/0.1975, allocations: 163.4 kB / 0.7022 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.1975, allocations: 31.75 kB / 0.7022 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.091e-05/0.1976, allocations: 33.86 kB / 0.7022 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.1976, allocations: 8 kB / 0.7022 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.1976, allocations: 0 / 0.7022 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.1976, allocations: 0 / 0.7022 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.1981, allocations: 361.2 kB / 0.7026 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1981, allocations: 3.938 kB / 0.7026 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.1985, allocations: 71.89 kB / 0.7027 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.1985, allocations: 8 kB / 0.7027 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.1985, allocations: 15.98 kB / 0.7027 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1986, allocations: 4 kB / 0.7027 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1986, allocations: 0 / 0.7027 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.1997, allocations: 0.5934 MB / 0.7033 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.1998, allocations: 104.9 kB / 0.7034 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/0.1999, allocations: 8 kB / 0.7034 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.2001, allocations: 39.94 kB / 0.7034 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.2002, allocations: 51.94 kB / 0.7035 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.2003, allocations: 15.98 kB / 0.7035 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001007/0.2004, allocations: 129.2 kB / 0.7036 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2004, allocations: 0 / 0.7036 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003274/0.2007, allocations: 76 kB / 0.7037 GB, free: 2.629 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movAve1.mu,movAve2.mu,movAve3.mu,movAve4.mu,movAve5.mu,movAve6.mu,movAve7.mu,movAve8.mu,movAve9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movAve1.mode,movAve2.mode,movAve3.mode,movAve4.mode,movAve5.mode,$whenCondition4,$whenCondition3,movAve6.mode,movAve7.mode,$whenCondition2,$whenCondition1,movAve8.mode,movAve9.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.001567/0.2023, allocations: 1.158 MB / 0.7048 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007961/0.2031, allocations: 380.2 kB / 0.7052 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2031, allocations: 0 / 0.7052 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003978/0.2035, allocations: 199.9 kB / 0.7054 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.2039, allocations: 47.17 kB / 0.7054 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004471/0.2084, allocations: 3.172 MB / 0.7085 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.2088, allocations: 0.7608 MB / 0.7092 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001697/0.209, allocations: 46.89 kB / 0.7093 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.2092, allocations: 95.34 kB / 0.7094 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of SimCode: time 8.42e-07/0.2092, allocations: 0 / 0.7094 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03656/0.2458, allocations: 6.524 MB / 0.7158 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.29/8.535, allocations: 19.59 kB / 0.7158 GB, free: 6.195 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart_res.csv --start-time 100 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.32 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage_nonZeroStart.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.583033085102215] Failed to read output from testmodel.py, exit status != 0: 8.973648814018816 8.634710607 8.444615783 Calling exit ...