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.001758/0.001758, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.002198/0.002198, allocations: 219.2 kB / 23 MB, free: 5.004 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.473/1.473, allocations: 230.6 MB / 256.7 MB, free: 8.016 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.015/1.015, allocations: 150 MB / 463.1 MB, free: 10.54 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.002369/0.002369, allocations: 67.72 kB / 0.6417 GB, free: 9.988 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2178, allocations: 89.17 MB / 0.7288 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMovingMean): time 0.003015/0.2208, allocations: 0.8706 MB / 0.7296 GB, free: 12 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002609/0.2234, allocations: 1.361 MB / 0.731 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.2235, allocations: 0 / 0.731 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.2237, allocations: 11.81 kB / 0.731 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.2239, allocations: 35.77 kB / 0.731 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009335/0.2248, allocations: 273.7 kB / 0.7313 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004565/0.2252, allocations: 287.4 kB / 0.7316 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.2254, allocations: 21.3 kB / 0.7316 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.2257, allocations: 143.6 kB / 0.7317 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.226, allocations: 123.7 kB / 0.7318 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.31e-05/0.2261, allocations: 28 kB / 0.7319 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.2262, allocations: 43.97 kB / 0.7319 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.542e-05/0.2263, allocations: 43.83 kB / 0.7319 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.2264, allocations: 103.6 kB / 0.732 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.2269, allocations: 275 kB / 0.7323 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2269, allocations: 0 / 0.7323 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2269, allocations: 0 / 0.7323 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.2269, allocations: 0 / 0.7323 GB, free: 13.29 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.001206/0.2281, allocations: 481.4 kB / 0.7328 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.2281, allocations: 8.031 kB / 0.7328 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.2284, allocations: 32.83 kB / 0.7328 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.2287, allocations: 178.2 kB / 0.733 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.2288, allocations: 12.36 kB / 0.733 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.105e-05/0.2288, allocations: 20.38 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004/0.2292, allocations: 187.7 kB / 0.7332 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.2292, allocations: 192 / 0.7332 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.2293, allocations: 7.938 kB / 0.7332 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.2293, allocations: 11.94 kB / 0.7332 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.2295, allocations: 84.17 kB / 0.7333 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007551/0.2302, allocations: 451.7 kB / 0.7337 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.2305, allocations: 114.5 kB / 0.7338 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.2307, allocations: 80.97 kB / 0.7339 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.2307, allocations: 3.906 kB / 0.7339 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003811/0.2311, allocations: 219.8 kB / 0.7341 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.2311, allocations: 0 / 0.7341 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28): time 0.0009819/0.2321, allocations: 451.5 kB / 0.7345 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/0.2321, allocations: 59.41 kB / 0.7346 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.2323, allocations: 139.7 kB / 0.7347 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/0.2324, allocations: 45.69 kB / 0.7348 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.2325, allocations: 100.7 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.24e-05/0.2326, allocations: 71.47 kB / 0.7349 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.2327, allocations: 89.98 kB / 0.735 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.2329, allocations: 334.8 kB / 0.7353 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.2332, allocations: 148.7 kB / 0.7355 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.2336, allocations: 201.2 kB / 0.7357 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005602/0.2341, allocations: 362.3 kB / 0.736 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.2341, allocations: 3.938 kB / 0.736 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009239/0.235, allocations: 0.5072 MB / 0.7365 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.635e-05/0.2351, allocations: 63.41 kB / 0.7366 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.2351, allocations: 4 kB / 0.7366 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.2351, allocations: 3.984 kB / 0.7366 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.2354, allocations: 47.92 kB / 0.7366 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.2354, allocations: 4.125 kB / 0.7366 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.2358, allocations: 83.73 kB / 0.7367 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/0.2358, allocations: 23.98 kB / 0.7367 GB, free: 8.457 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.0002021/0.2361, allocations: 171.6 kB / 0.7369 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.2361, allocations: 23.89 kB / 0.7369 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.03e-05/0.2361, allocations: 13.97 kB / 0.7369 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.2361, allocations: 4 kB / 0.7369 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2361, allocations: 0 / 0.7369 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2361, allocations: 3.938 kB / 0.737 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009063/0.2371, allocations: 0.6339 MB / 0.7376 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2371, allocations: 0 / 0.7376 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.2371, allocations: 4 kB / 0.7376 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.2371, allocations: 4 kB / 0.7376 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.2371, allocations: 15.98 kB / 0.7376 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.2371, allocations: 11.86 kB / 0.7376 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2371, allocations: 0 / 0.7376 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006625/0.2378, allocations: 459 kB / 0.738 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.2378, allocations: 19.78 kB / 0.7381 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.446e-05/0.2379, allocations: 15.98 kB / 0.7381 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.238, allocations: 15.92 kB / 0.7381 GB, free: 7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.2381, allocations: 11.98 kB / 0.7381 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.2381, allocations: 27.97 kB / 0.7381 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.97e-05/0.2382, allocations: 101.5 kB / 0.7382 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2382, allocations: 0 / 0.7382 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003576/0.2386, allocations: 67.94 kB / 0.7383 GB, free: 6.797 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.0002214/0.2388, allocations: 133.2 kB / 0.7384 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000745/0.2395, allocations: 418.5 kB / 0.7388 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2395, allocations: 0 / 0.7388 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/0.2397, allocations: 103.9 kB / 0.7389 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.2401, allocations: 23.97 kB / 0.7389 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006767/0.2408, allocations: 329.5 kB / 0.7393 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.2412, allocations: 0.7167 MB / 0.74 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.854e-05/0.2412, allocations: 17.64 kB / 0.74 GB, free: 5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.2413, allocations: 19.44 kB / 0.74 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of SimCode: time 5.92e-07/0.2413, allocations: 8 kB / 0.74 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of Templates: time 0.008356/0.2496, allocations: 3.694 MB / 0.7436 GB, free: 1.316 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.86562317237258] Failed to read output from testmodel.py, exit status != 0: 0.2588957161642611 0.273615184 0.04339851 Calling exit ...