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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 97.11 kB / 19.74 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 209.6 kB / 23.04 MB, free: 5.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.347/1.347, allocations: 230.6 MB / 256.8 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8804/0.8804, allocations: 150 MB / 463.2 MB, free: 10.16 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 64.78 kB / 0.6413 GB, free: 9.742 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1535, allocations: 89.18 MB / 0.7284 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003083/0.1566, allocations: 1.9 MB / 0.7303 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1578, allocations: 0.7012 MB / 0.731 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.664e-05/0.1579, allocations: 4 kB / 0.731 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.717e-05/0.1579, allocations: 23.67 kB / 0.731 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.1581, allocations: 39.58 kB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004809/0.1585, allocations: 171.7 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003734/0.1589, allocations: 335.1 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.159, allocations: 29.2 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.1593, allocations: 139.6 kB / 0.7317 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.1595, allocations: 139.3 kB / 0.7318 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.956e-05/0.1595, allocations: 32 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.996e-05/0.1596, allocations: 32 kB / 0.7319 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.746e-05/0.1597, allocations: 83.72 kB / 0.7319 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.1598, allocations: 115.5 kB / 0.7321 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.1601, allocations: 314.8 kB / 0.7324 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1601, allocations: 4 kB / 0.7324 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.176e-06/0.1601, allocations: 7.922 kB / 0.7324 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.1601, allocations: 0 / 0.7324 GB, free: 12.58 MB / 0.5606 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.001187/0.1613, allocations: 0.5638 MB / 0.7329 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1614, allocations: 8.031 kB / 0.7329 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.917e-05/0.1614, allocations: 62.67 kB / 0.733 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003018/0.1617, allocations: 60.7 kB / 0.733 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.162, allocations: 187.3 kB / 0.7332 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003286/0.1624, allocations: 0.4918 MB / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.1624, allocations: 36.27 kB / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004705/0.1629, allocations: 265.7 kB / 0.734 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1629, allocations: 0 / 0.734 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.1629, allocations: 8 kB / 0.734 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1629, allocations: 4 kB / 0.734 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/0.1633, allocations: 179.8 kB / 0.7342 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.1644, allocations: 0.6911 MB / 0.7348 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004451/0.1648, allocations: 195.7 kB / 0.735 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.165, allocations: 130.5 kB / 0.7352 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.1651, allocations: 4.375 kB / 0.7352 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000501/0.1656, allocations: 323.4 kB / 0.7355 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 1.853e-06/0.1656, allocations: 0 / 0.7355 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.0009988/0.1666, allocations: 490.5 kB / 0.7359 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.1666, allocations: 110.8 kB / 0.736 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.1668, allocations: 186.8 kB / 0.7362 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.1669, allocations: 41.7 kB / 0.7363 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.1669, allocations: 121.3 kB / 0.7364 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.1671, allocations: 154.8 kB / 0.7365 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.1672, allocations: 106.3 kB / 0.7366 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1674, allocations: 342.8 kB / 0.737 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/0.1676, allocations: 145.2 kB / 0.7371 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.168, allocations: 256.6 kB / 0.7373 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.1686, allocations: 390.1 kB / 0.7377 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1686, allocations: 0 / 0.7377 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008237/0.1695, allocations: 0.5015 MB / 0.7382 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1695, allocations: 4 kB / 0.7382 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1695, allocations: 4 kB / 0.7382 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1695, allocations: 4.062 kB / 0.7382 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.1699, allocations: 107.8 kB / 0.7383 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.1699, allocations: 4 kB / 0.7383 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.1702, allocations: 59.69 kB / 0.7384 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.1702, allocations: 24 kB / 0.7384 GB, free: 5.969 MB / 0.5606 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.0001703/0.1704, allocations: 159.5 kB / 0.7385 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.1704, allocations: 31.75 kB / 0.7386 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.034e-05/0.1705, allocations: 29.97 kB / 0.7386 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1705, allocations: 8 kB / 0.7386 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1705, allocations: 0 / 0.7386 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1705, allocations: 3.984 kB / 0.7386 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.1708, allocations: 288.4 kB / 0.7389 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1708, allocations: 7.938 kB / 0.7389 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003949/0.1712, allocations: 71.91 kB / 0.739 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1712, allocations: 3.984 kB / 0.739 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.1713, allocations: 16 kB / 0.739 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1713, allocations: 3.938 kB / 0.739 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1713, allocations: 0 / 0.739 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.1723, allocations: 0.5822 MB / 0.7396 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.1723, allocations: 39.69 kB / 0.7396 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.1724, allocations: 11.98 kB / 0.7396 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.1726, allocations: 27.97 kB / 0.7396 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.1727, allocations: 55.91 kB / 0.7397 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.1728, allocations: 19.98 kB / 0.7397 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001024/0.1729, allocations: 124.4 kB / 0.7398 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1729, allocations: 0 / 0.7398 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002996/0.1732, allocations: 83.95 kB / 0.7399 GB, free: 4.336 MB / 0.5606 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.00136/0.1745, allocations: 1.148 MB / 0.741 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006927/0.1752, allocations: 366.7 kB / 0.7414 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1752, allocations: 4 kB / 0.7414 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.1756, allocations: 182.3 kB / 0.7416 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.1759, allocations: 44.47 kB / 0.7416 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.1799, allocations: 3.197 MB / 0.7447 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.1801, allocations: 160.1 kB / 0.7449 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000143/0.1802, allocations: 47.17 kB / 0.7449 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.1804, allocations: 95.41 kB / 0.745 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.1804, allocations: 0 / 0.745 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03514/0.2155, allocations: 7.403 MB / 0.7522 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.33, allocations: 4.062 kB / 0.7522 GB, free: 7.688 MB / 0.5762 GB " [Timeout remaining time 650] (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: 14.036731902975589] Failed to read output from testmodel.py, exit status != 0: 10.432391776004806 10.701719023 10.539262297 Calling exit ...