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.001719/0.001719, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.00213/0.00213, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.527/1.527, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 1.08/1.08, allocations: 150 MB / 459.5 MB, free: 5.262 MB / 350.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.001989/0.001989, allocations: 79.27 kB / 0.6362 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.153, allocations: 89.13 MB / 0.7232 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002561/0.1556, allocations: 1.093 MB / 0.7243 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.1573, allocations: 1.156 MB / 0.7254 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.1574, allocations: 0 / 0.7254 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.086e-05/0.1575, allocations: 23.73 kB / 0.7254 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.1576, allocations: 39.58 kB / 0.7255 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.1581, allocations: 147.8 kB / 0.7256 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003847/0.1585, allocations: 331.1 kB / 0.7259 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1586, allocations: 40.31 kB / 0.726 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.1589, allocations: 143.6 kB / 0.7261 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.1591, allocations: 147.3 kB / 0.7263 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.1591, allocations: 32 kB / 0.7263 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.645e-05/0.1592, allocations: 36 kB / 0.7263 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.385e-05/0.1593, allocations: 71.8 kB / 0.7264 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.1594, allocations: 135.3 kB / 0.7265 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.1597, allocations: 322.9 kB / 0.7268 GB, free: 316 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1597, allocations: 0 / 0.7268 GB, free: 316 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1597, allocations: 0 / 0.7268 GB, free: 316 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.1598, allocations: 0 / 0.7268 GB, free: 316 kB / 0.5294 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.001388/0.1611, allocations: 0.6429 MB / 0.7275 GB, free: 15.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1612, allocations: 8.031 kB / 0.7275 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.508e-05/0.1613, allocations: 54.73 kB / 0.7275 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003382/0.1616, allocations: 60.77 kB / 0.7276 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.1618, allocations: 200.9 kB / 0.7278 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/0.162, allocations: 264.3 kB / 0.728 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.1621, allocations: 32.33 kB / 0.728 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005386/0.1626, allocations: 266 kB / 0.7283 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.1626, allocations: 4 kB / 0.7283 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.1626, allocations: 8 kB / 0.7283 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.1627, allocations: 11.98 kB / 0.7283 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/0.1631, allocations: 171.8 kB / 0.7285 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.1643, allocations: 0.7815 MB / 0.7292 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005113/0.1648, allocations: 198.2 kB / 0.7294 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.165, allocations: 126.5 kB / 0.7296 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.102e-05/0.1651, allocations: 7.984 kB / 0.7296 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005822/0.1657, allocations: 319.6 kB / 0.7299 GB, free: 12.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 1.693e-06/0.1657, allocations: 0 / 0.7299 GB, free: 12.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.001127/0.1668, allocations: 494.2 kB / 0.7303 GB, free: 12.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.753e-05/0.1669, allocations: 118.8 kB / 0.7305 GB, free: 12.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.1671, allocations: 183.3 kB / 0.7306 GB, free: 12.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.184e-05/0.1671, allocations: 37.7 kB / 0.7307 GB, free: 12.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/0.1672, allocations: 117.4 kB / 0.7308 GB, free: 11.92 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.1673, allocations: 154.8 kB / 0.7309 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.1675, allocations: 110.3 kB / 0.731 GB, free: 11.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1676, allocations: 342.8 kB / 0.7314 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.168, allocations: 145.2 kB / 0.7315 GB, free: 11.17 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/0.1684, allocations: 252.8 kB / 0.7317 GB, free: 10.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006891/0.1691, allocations: 394 kB / 0.7321 GB, free: 10.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1691, allocations: 0 / 0.7321 GB, free: 10.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009575/0.17, allocations: 489 kB / 0.7326 GB, free: 9.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.17, allocations: 15.94 kB / 0.7326 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.17, allocations: 4.062 kB / 0.7326 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.1701, allocations: 8 kB / 0.7326 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/0.1705, allocations: 99.81 kB / 0.7327 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.1705, allocations: 4 kB / 0.7327 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002876/0.1708, allocations: 59.7 kB / 0.7328 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.1708, allocations: 20 kB / 0.7328 GB, free: 9.773 MB / 0.545 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.0001877/0.171, allocations: 167.4 kB / 0.7329 GB, free: 9.602 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.171, allocations: 31.8 kB / 0.733 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.013e-05/0.1711, allocations: 29.88 kB / 0.733 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1711, allocations: 4 kB / 0.733 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1711, allocations: 0 / 0.733 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.1712, allocations: 7.984 kB / 0.733 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.1716, allocations: 357.2 kB / 0.7333 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1716, allocations: 3.938 kB / 0.7334 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004215/0.172, allocations: 75.91 kB / 0.7334 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.172, allocations: 7.922 kB / 0.7334 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.172, allocations: 12 kB / 0.7334 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.172, allocations: 3.938 kB / 0.7334 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.172, allocations: 0 / 0.7334 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.1732, allocations: 0.5786 MB / 0.734 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.586e-05/0.1733, allocations: 112.8 kB / 0.7341 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.1733, allocations: 12.08 kB / 0.7341 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.1736, allocations: 31.91 kB / 0.7342 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.1737, allocations: 64 kB / 0.7342 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.1737, allocations: 16 kB / 0.7342 GB, free: 8.172 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001263/0.1738, allocations: 128.1 kB / 0.7344 GB, free: 8.047 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1738, allocations: 0 / 0.7344 GB, free: 8.047 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003346/0.1742, allocations: 76 kB / 0.7344 GB, free: 7.973 MB / 0.545 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.001582/0.1758, allocations: 1.141 MB / 0.7355 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007982/0.1766, allocations: 360.5 kB / 0.7359 GB, free: 6.449 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1766, allocations: 8 kB / 0.7359 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.177, allocations: 183.7 kB / 0.7361 GB, free: 6.262 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.1773, allocations: 48.34 kB / 0.7361 GB, free: 6.215 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004651/0.182, allocations: 3.161 MB / 0.7392 GB, free: 2.891 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.1824, allocations: 0.7724 MB / 0.74 GB, free: 2.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001496/0.1825, allocations: 34.97 kB / 0.74 GB, free: 2.059 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.1827, allocations: 91.41 kB / 0.7401 GB, free: 1.969 MB / 0.545 GB Notification: Performance of SimCode: time 9.01e-07/0.1827, allocations: 0 / 0.7401 GB, free: 1.969 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03553/0.2182, allocations: 6.573 MB / 0.7465 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.542/8.76, allocations: 13.75 kB / 0.7465 GB, free: 11.5 MB / 0.5606 GB " [Timeout remaining time 651] (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: 12.983954444061965] Failed to read output from testmodel.py, exit status != 0: 8.835058261174709 8.864757629 8.700029849 Calling exit ...