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.001292/0.001292, allocations: 74.09 kB / 20.51 MB, free: 1.281 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.00182/0.00182, allocations: 161.8 kB / 23.76 MB, free: 4.469 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.49/1.49, allocations: 177.2 MB / 204.1 MB, free: 8.984 MB / 190.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.9403/0.9403, allocations: 113.9 MB / 374.5 MB, free: 12.88 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: translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage") [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.002158/0.002158, allocations: 65.7 kB / 0.5551 GB, free: 2.695 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1781, allocations: 89.15 MB / 0.6421 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.00228/0.1803, allocations: 1.01 MB / 0.6431 GB, free: 8.492 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.1819, allocations: 1.127 MB / 0.6442 GB, free: 7.352 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.487e-05/0.182, allocations: 0 / 0.6442 GB, free: 7.352 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.568e-05/0.182, allocations: 23.67 kB / 0.6443 GB, free: 7.328 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.1821, allocations: 47.58 kB / 0.6443 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004622/0.1826, allocations: 151.7 kB / 0.6444 GB, free: 7.133 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003769/0.183, allocations: 331.1 kB / 0.6448 GB, free: 6.809 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.1831, allocations: 32.56 kB / 0.6448 GB, free: 6.777 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.1834, allocations: 139.7 kB / 0.6449 GB, free: 6.641 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.1836, allocations: 131.3 kB / 0.6451 GB, free: 6.512 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.542e-05/0.1836, allocations: 32 kB / 0.6451 GB, free: 6.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.696e-05/0.1837, allocations: 35.98 kB / 0.6451 GB, free: 6.445 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.515e-05/0.1838, allocations: 87.67 kB / 0.6452 GB, free: 6.359 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.1839, allocations: 111.5 kB / 0.6453 GB, free: 6.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.1843, allocations: 322.7 kB / 0.6456 GB, free: 5.934 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1843, allocations: 0 / 0.6456 GB, free: 5.934 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1843, allocations: 0 / 0.6456 GB, free: 5.934 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.1843, allocations: 0 / 0.6456 GB, free: 5.934 MB / 0.545 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.001258/0.1855, allocations: 0.5599 MB / 0.6462 GB, free: 5.336 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1856, allocations: 12.02 kB / 0.6462 GB, free: 5.324 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003374/0.1859, allocations: 60.72 kB / 0.6462 GB, free: 5.266 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.186, allocations: 143 kB / 0.6464 GB, free: 5.098 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003569/0.1864, allocations: 0.4919 MB / 0.6468 GB, free: 4.496 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.979e-05/0.1865, allocations: 28.38 kB / 0.6469 GB, free: 4.469 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000506/0.187, allocations: 255.1 kB / 0.6471 GB, free: 4.207 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.187, allocations: 11.89 kB / 0.6471 GB, free: 4.195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/0.187, allocations: 11.94 kB / 0.6471 GB, free: 4.184 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.187, allocations: 7.984 kB / 0.6471 GB, free: 4.176 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/0.1875, allocations: 171.9 kB / 0.6473 GB, free: 4.008 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.1885, allocations: 0.6486 MB / 0.6479 GB, free: 3.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005095/0.189, allocations: 199.7 kB / 0.6481 GB, free: 3.098 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/0.1893, allocations: 130.5 kB / 0.6483 GB, free: 2.961 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.625e-05/0.1893, allocations: 8 kB / 0.6483 GB, free: 2.953 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006167/0.19, allocations: 324.3 kB / 0.6486 GB, free: 2.617 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 1.744e-06/0.19, allocations: 0 / 0.6486 GB, free: 2.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.00109/0.1911, allocations: 481.7 kB / 0.649 GB, free: 2.141 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/0.1911, allocations: 118.8 kB / 0.6491 GB, free: 2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.1913, allocations: 179.5 kB / 0.6493 GB, free: 1.812 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.1914, allocations: 41.7 kB / 0.6494 GB, free: 1.766 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.1914, allocations: 117.4 kB / 0.6495 GB, free: 1.648 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.1916, allocations: 162.7 kB / 0.6496 GB, free: 1.488 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.1917, allocations: 106.3 kB / 0.6497 GB, free: 1.379 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1919, allocations: 342.8 kB / 0.6501 GB, free: 1.035 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.1922, allocations: 145.2 kB / 0.6502 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/0.1926, allocations: 256.7 kB / 0.6504 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006846/0.1933, allocations: 390.1 kB / 0.6508 GB, free: 192 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.1933, allocations: 4 kB / 0.6508 GB, free: 188 kB / 0.545 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009121/0.1942, allocations: 493.2 kB / 0.6513 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1943, allocations: 8 kB / 0.6513 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1943, allocations: 0 / 0.6513 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.1943, allocations: 15.88 kB / 0.6513 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.1947, allocations: 95.77 kB / 0.6514 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.1947, allocations: 8 kB / 0.6514 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.195, allocations: 63.7 kB / 0.6515 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/0.195, allocations: 23.98 kB / 0.6515 GB, free: 15.48 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.0001678/0.1952, allocations: 155.7 kB / 0.6516 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.1953, allocations: 23.86 kB / 0.6517 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.277e-05/0.1953, allocations: 41.89 kB / 0.6517 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.1953, allocations: 4 kB / 0.6517 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1953, allocations: 0 / 0.6517 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1953, allocations: 96 / 0.6517 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.1957, allocations: 241 kB / 0.6519 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1957, allocations: 7.984 kB / 0.6519 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.1961, allocations: 75.95 kB / 0.652 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1961, allocations: 4 kB / 0.652 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/0.1961, allocations: 15.98 kB / 0.652 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.1961, allocations: 7.938 kB / 0.652 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1961, allocations: 0 / 0.652 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.1973, allocations: 0.5839 MB / 0.6526 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.1973, allocations: 27.8 kB / 0.6526 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.832e-05/0.1974, allocations: 15.98 kB / 0.6527 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.1976, allocations: 31.91 kB / 0.6527 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.1978, allocations: 59.91 kB / 0.6527 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.1978, allocations: 8 kB / 0.6527 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.812e-05/0.1979, allocations: 129.2 kB / 0.6529 GB, free: 14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1979, allocations: 0 / 0.6529 GB, free: 14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003369/0.1982, allocations: 84.05 kB / 0.653 GB, free: 13.92 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.0001484/0.1984, allocations: 123.8 kB / 0.6531 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007451/0.1991, allocations: 364.5 kB / 0.6534 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1991, allocations: 0 / 0.6534 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.1995, allocations: 187.9 kB / 0.6536 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1998, allocations: 36.17 kB / 0.6536 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.201, allocations: 0.6325 MB / 0.6542 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.2011, allocations: 160.1 kB / 0.6544 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001428/0.2013, allocations: 38.95 kB / 0.6544 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.2014, allocations: 36.5 kB / 0.6545 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.2014, allocations: 0 / 0.6545 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of Templates: time 0.008526/0.2099, allocations: 4.004 MB / 0.6584 GB, free: 8.363 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.675664832000621] Failed to read output from testmodel.py, exit status != 0: 0.21838754101190716 0.23282923000000003 0.045472933 Calling exit ...