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.001312/0.001312, allocations: 109 kB / 20.45 MB, free: 1.496 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.001602/0.001602, allocations: 208.1 kB / 23.75 MB, free: 4.727 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.9679/0.9679, allocations: 150 MB / 463.9 MB, free: 10.48 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.002328/0.002328, allocations: 67.73 kB / 0.6425 GB, free: 9.93 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1939, allocations: 89.16 MB / 0.7296 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.002377/0.1963, allocations: 0.8644 MB / 0.7304 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002207/0.1985, allocations: 1.357 MB / 0.7317 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.898e-05/0.1985, allocations: 0 / 0.7317 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.1987, allocations: 15.8 kB / 0.7317 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.1988, allocations: 39.77 kB / 0.7318 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008414/0.1997, allocations: 275.7 kB / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.2001, allocations: 283.5 kB / 0.7323 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.2002, allocations: 17.3 kB / 0.7323 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.2005, allocations: 147.6 kB / 0.7325 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.2008, allocations: 129.1 kB / 0.7326 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.56e-05/0.2009, allocations: 24 kB / 0.7326 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.201, allocations: 43.92 kB / 0.7327 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.4e-05/0.2011, allocations: 51.77 kB / 0.7327 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.2012, allocations: 99.62 kB / 0.7328 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.2016, allocations: 267.1 kB / 0.7331 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2016, allocations: 0 / 0.7331 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2017, allocations: 0 / 0.7331 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.2017, allocations: 0 / 0.7331 GB, free: 13.23 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.001102/0.2028, allocations: 481.4 kB / 0.7335 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2028, allocations: 12.02 kB / 0.7335 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.203, allocations: 36.83 kB / 0.7336 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.2033, allocations: 166.2 kB / 0.7337 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.2033, allocations: 16.36 kB / 0.7337 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.2034, allocations: 16.38 kB / 0.7338 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.2038, allocations: 191.7 kB / 0.7339 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2038, allocations: 192 / 0.7339 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.2038, allocations: 3.938 kB / 0.7339 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.2038, allocations: 8 kB / 0.734 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.204, allocations: 92.17 kB / 0.734 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007286/0.2048, allocations: 451.7 kB / 0.7345 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.205, allocations: 110.5 kB / 0.7346 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.2052, allocations: 88.89 kB / 0.7347 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.2052, allocations: 3.906 kB / 0.7347 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004162/0.2057, allocations: 215.9 kB / 0.7349 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 1.664e-06/0.2057, allocations: 0 / 0.7349 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28): time 0.0009033/0.2066, allocations: 455.5 kB / 0.7353 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.2066, allocations: 59.34 kB / 0.7354 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.2068, allocations: 140.7 kB / 0.7355 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.829e-05/0.2068, allocations: 41.7 kB / 0.7355 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.132e-05/0.2069, allocations: 108.7 kB / 0.7356 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.386e-05/0.207, allocations: 71.47 kB / 0.7357 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.2071, allocations: 89.98 kB / 0.7358 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2073, allocations: 338.8 kB / 0.7361 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.2076, allocations: 140.7 kB / 0.7362 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.2079, allocations: 213.2 kB / 0.7365 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000546/0.2085, allocations: 354.3 kB / 0.7368 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2085, allocations: 0 / 0.7368 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009135/0.2094, allocations: 0.5034 MB / 0.7373 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.361e-05/0.2095, allocations: 67.39 kB / 0.7373 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.2095, allocations: 4 kB / 0.7374 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.2095, allocations: 7.938 kB / 0.7374 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.2097, allocations: 51.91 kB / 0.7374 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2097, allocations: 4 kB / 0.7374 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.2101, allocations: 83.72 kB / 0.7375 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-05/0.2102, allocations: 27.98 kB / 0.7375 GB, free: 8.387 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.0001837/0.2104, allocations: 165.7 kB / 0.7377 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.872e-05/0.2105, allocations: 15.91 kB / 0.7377 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.2105, allocations: 9.969 kB / 0.7377 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2105, allocations: 4 kB / 0.7377 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2105, allocations: 7.938 kB / 0.7377 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.2105, allocations: 7.922 kB / 0.7377 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008432/0.2114, allocations: 0.6292 MB / 0.7383 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2114, allocations: 0 / 0.7383 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.2114, allocations: 4 kB / 0.7383 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.2114, allocations: 4 kB / 0.7383 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.2114, allocations: 11.97 kB / 0.7384 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.2114, allocations: 3.938 kB / 0.7384 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2114, allocations: 7.938 kB / 0.7384 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006362/0.2121, allocations: 456 kB / 0.7388 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.964e-05/0.2121, allocations: 23.78 kB / 0.7388 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.223e-05/0.2122, allocations: 15.98 kB / 0.7388 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.2123, allocations: 11.92 kB / 0.7388 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.2123, allocations: 19.97 kB / 0.7389 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.2124, allocations: 15.98 kB / 0.7389 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.695e-05/0.2124, allocations: 103.3 kB / 0.739 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2124, allocations: 0 / 0.739 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003669/0.2128, allocations: 71.94 kB / 0.7391 GB, free: 6.738 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triMovMea.y,triMovMea.iSample,triMovMea.counter,triMovMea.index,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.y,triMovMea1.iSample,triMovMea1.counter,triMovMea1.index,triMovMea1.ySample[1],triMovMea2.y,triMovMea2.iSample,triMovMea2.counter,triMovMea2.index,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],booPul1.y) * Number of discrete states: 13 (triMovMea2.iSample,triMovMea2.ySample[1],triMovMea2.ySample[2],triMovMea2.ySample[3],triMovMea2.counter,triMovMea.iSample,triMovMea.counter,triMovMea.ySample[1],triMovMea.ySample[2],triMovMea.ySample[3],triMovMea1.iSample,triMovMea1.counter,triMovMea1.ySample[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0002101/0.213, allocations: 133.2 kB / 0.7392 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007278/0.2137, allocations: 410.7 kB / 0.7396 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2138, allocations: 4.062 kB / 0.7396 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.214, allocations: 99.89 kB / 0.7397 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.2143, allocations: 36.06 kB / 0.7397 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007052/0.2151, allocations: 358.8 kB / 0.74 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.2155, allocations: 0.7206 MB / 0.7407 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.737e-05/0.2155, allocations: 19.42 kB / 0.7408 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.2155, allocations: 0 / 0.7408 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of Templates: time 0.006116/0.2217, allocations: 3.067 MB / 0.7438 GB, free: 1.848 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: 8.436604283982888] Failed to read output from testmodel.py, exit status != 0: 0.2310638539493084 0.24597128499999996 0.041240923000000006 Calling exit ...