Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.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.001226/0.001226, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.001377/0.001377, allocations: 212.7 kB / 23.04 MB, free: 4.887 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.352/1.352, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.9238/0.9238, allocations: 150 MB / 463.2 MB, free: 10.21 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,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage",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.001917/0.001917, allocations: 70.52 kB / 0.6413 GB, free: 9.801 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1632, allocations: 89.18 MB / 0.7284 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002179/0.1654, allocations: 1.002 MB / 0.7294 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1668, allocations: 1.139 MB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.1669, allocations: 0 / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.056e-05/0.1669, allocations: 19.73 kB / 0.7305 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.167, allocations: 47.52 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.1675, allocations: 150.6 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.1678, allocations: 323.2 kB / 0.731 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1679, allocations: 36.58 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.1682, allocations: 139.5 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.1683, allocations: 135.4 kB / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/0.1684, allocations: 32 kB / 0.7314 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.231e-05/0.1685, allocations: 35.98 kB / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.663e-05/0.1685, allocations: 75.8 kB / 0.7315 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.1686, allocations: 119.5 kB / 0.7316 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.169, allocations: 319 kB / 0.7319 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.169, allocations: 0 / 0.7319 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.193e-06/0.169, allocations: 0 / 0.7319 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.169, allocations: 4 kB / 0.7319 GB, free: 13.14 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.001194/0.1702, allocations: 0.5559 MB / 0.7324 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1702, allocations: 8.031 kB / 0.7324 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.863e-05/0.1703, allocations: 62.73 kB / 0.7325 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003092/0.1706, allocations: 60.72 kB / 0.7325 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.1707, allocations: 147 kB / 0.7327 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003932/0.1711, allocations: 0.4918 MB / 0.7332 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.616e-05/0.1712, allocations: 28.38 kB / 0.7332 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.1717, allocations: 258.1 kB / 0.7334 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.1717, allocations: 7.953 kB / 0.7334 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.1717, allocations: 7.984 kB / 0.7335 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1717, allocations: 8 kB / 0.7335 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004135/0.1721, allocations: 179.8 kB / 0.7336 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.1733, allocations: 0.6871 MB / 0.7343 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004958/0.1738, allocations: 195.7 kB / 0.7345 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.174, allocations: 130.5 kB / 0.7346 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.174, allocations: 11.94 kB / 0.7346 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005467/0.1746, allocations: 315.8 kB / 0.7349 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 1.783e-06/0.1746, allocations: 0 / 0.7349 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001025/0.1756, allocations: 491.8 kB / 0.7354 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/0.1757, allocations: 114.8 kB / 0.7355 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.1759, allocations: 183.5 kB / 0.7357 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.1759, allocations: 41.7 kB / 0.7357 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.889e-05/0.176, allocations: 121.4 kB / 0.7358 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.1761, allocations: 150.8 kB / 0.736 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.1763, allocations: 110.3 kB / 0.7361 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1764, allocations: 342.7 kB / 0.7364 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.1767, allocations: 141.2 kB / 0.7365 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.1771, allocations: 256.8 kB / 0.7368 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006411/0.1778, allocations: 394 kB / 0.7372 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1778, allocations: 0 / 0.7372 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008494/0.1786, allocations: 493.7 kB / 0.7376 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1786, allocations: 7.938 kB / 0.7376 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1786, allocations: 4 kB / 0.7377 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1787, allocations: 4.062 kB / 0.7377 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.179, allocations: 103.8 kB / 0.7378 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.179, allocations: 11.94 kB / 0.7378 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.1793, allocations: 63.7 kB / 0.7378 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.1793, allocations: 20 kB / 0.7378 GB, free: 6.578 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.000162/0.1795, allocations: 163.4 kB / 0.738 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.1796, allocations: 27.8 kB / 0.738 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.66e-05/0.1796, allocations: 29.97 kB / 0.7381 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.1796, allocations: 8 kB / 0.7381 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1796, allocations: 4 kB / 0.7381 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.1797, allocations: 3.984 kB / 0.7381 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.18, allocations: 276.5 kB / 0.7383 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.18, allocations: 0 / 0.7383 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.1804, allocations: 71.89 kB / 0.7384 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.1804, allocations: 11.88 kB / 0.7384 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.1804, allocations: 15.98 kB / 0.7384 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1804, allocations: 4.078 kB / 0.7384 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1804, allocations: 3.984 kB / 0.7384 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.1815, allocations: 0.5861 MB / 0.739 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.1815, allocations: 27.73 kB / 0.739 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.1816, allocations: 12.08 kB / 0.739 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.1818, allocations: 31.97 kB / 0.7391 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.1819, allocations: 59.89 kB / 0.7391 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.182, allocations: 12.19 kB / 0.7391 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.727e-05/0.1821, allocations: 129.2 kB / 0.7393 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1821, allocations: 7.938 kB / 0.7393 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003368/0.1824, allocations: 83.95 kB / 0.7394 GB, free: 4.953 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.00145/0.1838, allocations: 1.136 MB / 0.7405 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007325/0.1846, allocations: 366.6 kB / 0.7408 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1846, allocations: 0 / 0.7408 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.1849, allocations: 183.8 kB / 0.741 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.1853, allocations: 40.11 kB / 0.741 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004243/0.1895, allocations: 3.178 MB / 0.7441 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.1896, allocations: 156.2 kB / 0.7443 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001417/0.1898, allocations: 38.97 kB / 0.7443 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.19, allocations: 95.39 kB / 0.7444 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.19, allocations: 0 / 0.7444 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03505/0.225, allocations: 7.32 MB / 0.7516 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.46, allocations: 11 kB / 0.7516 GB, free: 8.43 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MovingAverage.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.259825963061303] Failed to read output from testmodel.py, exit status != 0: 10.564830987947062 10.821403338 10.650223225 Calling exit ...