Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.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.001747/0.001747, allocations: 103.7 kB / 20.5 MB, free: 1.168 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.002099/0.002099, allocations: 211.9 kB / 23.79 MB, free: 4.172 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.553/1.553, allocations: 230.6 MB / 257.6 MB, free: 7.754 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.9708/0.9708, allocations: 150 MB / 464 MB, free: 10.18 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: translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean") [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.002316/0.002316, allocations: 69.3 kB / 0.6425 GB, free: 9.363 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.18, allocations: 89.18 MB / 0.7296 GB, free: 248 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.002232/0.1823, allocations: 0.8159 MB / 0.7304 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002083/0.1843, allocations: 1.33 MB / 0.7317 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.158e-05/0.1844, allocations: 0 / 0.7317 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.1845, allocations: 19.8 kB / 0.7317 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.1847, allocations: 35.77 kB / 0.7317 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007982/0.1855, allocations: 280.2 kB / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.1858, allocations: 283.4 kB / 0.7323 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1859, allocations: 25.28 kB / 0.7323 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.1862, allocations: 135.7 kB / 0.7324 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.1864, allocations: 123.6 kB / 0.7325 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.724e-05/0.1865, allocations: 28 kB / 0.7326 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1866, allocations: 35.98 kB / 0.7326 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.877e-05/0.1866, allocations: 47.83 kB / 0.7327 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.1868, allocations: 83.75 kB / 0.7327 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.1871, allocations: 275 kB / 0.733 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1871, allocations: 0 / 0.733 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1871, allocations: 0 / 0.733 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.1871, allocations: 0 / 0.733 GB, free: 12.75 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.000969/0.1881, allocations: 477.4 kB / 0.7335 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1881, allocations: 12.03 kB / 0.7335 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.1883, allocations: 32.83 kB / 0.7335 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.1886, allocations: 166.3 kB / 0.7337 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.1886, allocations: 12.36 kB / 0.7337 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-05/0.1887, allocations: 20.38 kB / 0.7337 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.1891, allocations: 195.7 kB / 0.7339 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.1891, allocations: 4.125 kB / 0.7339 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.1891, allocations: 7.938 kB / 0.7339 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.1891, allocations: 3.984 kB / 0.7339 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.1893, allocations: 92.11 kB / 0.734 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.19, allocations: 372.5 kB / 0.7343 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.1902, allocations: 118.5 kB / 0.7344 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.1904, allocations: 76.97 kB / 0.7345 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.1904, allocations: 7.906 kB / 0.7345 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003772/0.1908, allocations: 211.8 kB / 0.7347 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 2.274e-06/0.1908, allocations: 0 / 0.7347 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28): time 0.0009772/0.1918, allocations: 467.4 kB / 0.7352 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.1918, allocations: 51.41 kB / 0.7352 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.192, allocations: 144 kB / 0.7354 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.694e-05/0.192, allocations: 37.7 kB / 0.7354 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.588e-05/0.1921, allocations: 104.7 kB / 0.7355 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.988e-05/0.1922, allocations: 75.45 kB / 0.7356 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.1924, allocations: 89.98 kB / 0.7357 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.1925, allocations: 334.9 kB / 0.736 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/0.1929, allocations: 204.1 kB / 0.7362 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004162/0.1933, allocations: 268.6 kB / 0.7364 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006249/0.194, allocations: 366.3 kB / 0.7368 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.194, allocations: 0 / 0.7368 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001068/0.195, allocations: 0.5574 MB / 0.7373 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-05/0.1951, allocations: 67.39 kB / 0.7374 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.1951, allocations: 4.125 kB / 0.7374 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.1951, allocations: 4 kB / 0.7374 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.1954, allocations: 47.91 kB / 0.7374 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.1954, allocations: 4 kB / 0.7374 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004051/0.1958, allocations: 87.69 kB / 0.7375 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.1959, allocations: 23.92 kB / 0.7375 GB, free: 7.789 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition5,$whenCondition6,booPul1.y,$PRE.booPul1.y,$whenCondition4,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2,triMovMea2.ySample[3],$PRE.triMovMea2.ySample[3],triMovMea2.ySample[2],$PRE.triMovMea2.ySample[2],triMovMea2.ySample[1],$PRE.triMovMea2.ySample[1],triMovMea2.index,triMovMea2.counter,$PRE.triMovMea2.counter,triMovMea2.iSample,$PRE.triMovMea2.iSample,triMovMea2.y,triMovMea1.ySample[1],$PRE.triMovMea1.ySample[1],triMovMea1.index,triMovMea1.counter,$PRE.triMovMea1.counter,triMovMea1.iSample,$PRE.triMovMea1.iSample,triMovMea1.y,triMovMea.ySample[3],$PRE.triMovMea.ySample[3],triMovMea.ySample[2],$PRE.triMovMea.ySample[2],triMovMea.ySample[1],$PRE.triMovMea.ySample[1],triMovMea.index,triMovMea.counter,$PRE.triMovMea.counter,triMovMea.iSample,$PRE.triMovMea.iSample,triMovMea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 35 * Array equations: 2 * Algorithm blocks: 2 * 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.0002388/0.1961, allocations: 173.6 kB / 0.7377 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.1961, allocations: 19.89 kB / 0.7377 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.1962, allocations: 13.97 kB / 0.7377 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1962, allocations: 0 / 0.7377 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1962, allocations: 0 / 0.7377 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.1962, allocations: 12 kB / 0.7378 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.013e-05/0.1963, allocations: 27.91 kB / 0.7378 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.1964, allocations: 7.984 kB / 0.7378 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.1965, allocations: 19.97 kB / 0.7378 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006923/0.1972, allocations: 436.6 kB / 0.7382 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007265/0.1979, allocations: 0.5304 MB / 0.7387 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001868/0.1981, allocations: 91.94 kB / 0.7388 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.849e-05/0.1982, allocations: 104.6 kB / 0.7389 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of Backend: time 6.11e-07/0.1982, allocations: 0 / 0.7389 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.1992, allocations: 464.3 kB / 0.7394 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0009105/0.2001, allocations: 0.7284 MB / 0.7401 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of Templates: time 0.008552/0.2087, allocations: 4.256 MB / 0.7442 GB, free: 0.8828 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.875635807868093] Failed to read output from testmodel.py, exit status != 0: 0.21740783704444766 0.23304226 0.042387056 Calling exit ...