Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.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.001339/0.001339, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001452/0.001452, allocations: 213.8 kB / 22.99 MB, free: 4.609 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9828/0.9828, allocations: 149.9 MB / 463 MB, free: 10.37 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.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [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.002318/0.002318, allocations: 70.73 kB / 0.6416 GB, free: 9.562 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2087, allocations: 89.17 MB / 0.7287 GB, free: 476 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.003953/0.2126, allocations: 1.906 MB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.2142, allocations: 0.6974 MB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.2144, allocations: 3.938 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.409e-05/0.2145, allocations: 19.73 kB / 0.7312 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.2147, allocations: 51.52 kB / 0.7313 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000721/0.2154, allocations: 166.1 kB / 0.7315 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005649/0.216, allocations: 335 kB / 0.7318 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.2162, allocations: 28.92 kB / 0.7318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003927/0.2166, allocations: 151.5 kB / 0.7319 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.2169, allocations: 131.4 kB / 0.7321 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.237e-05/0.2169, allocations: 28 kB / 0.7321 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.2171, allocations: 35.98 kB / 0.7321 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.588e-05/0.2171, allocations: 79.8 kB / 0.7322 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.2173, allocations: 119.5 kB / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005013/0.2178, allocations: 322.6 kB / 0.7326 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.2178, allocations: 0 / 0.7326 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2178, allocations: 4 kB / 0.7326 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.2178, allocations: 0 / 0.7326 GB, free: 12.39 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001564/0.2194, allocations: 0.556 MB / 0.7332 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.2194, allocations: 8.031 kB / 0.7332 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004098/0.2198, allocations: 60.72 kB / 0.7332 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004752/0.2203, allocations: 195.3 kB / 0.7334 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004053/0.2207, allocations: 499.6 kB / 0.7339 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.018e-05/0.2208, allocations: 36.31 kB / 0.7339 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/0.2214, allocations: 261.8 kB / 0.7342 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.003e-05/0.2214, allocations: 11.98 kB / 0.7342 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.2214, allocations: 4 kB / 0.7342 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.2215, allocations: 8 kB / 0.7342 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004533/0.2219, allocations: 175.8 kB / 0.7344 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.2231, allocations: 0.6486 MB / 0.735 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.2237, allocations: 195.7 kB / 0.7352 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.224, allocations: 126.5 kB / 0.7353 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.386e-05/0.224, allocations: 8 kB / 0.7353 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005629/0.2246, allocations: 328 kB / 0.7356 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=48): time 2.314e-06/0.2246, allocations: 0 / 0.7356 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.001118/0.2257, allocations: 490.2 kB / 0.7361 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.28e-05/0.2258, allocations: 122.7 kB / 0.7362 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.226, allocations: 182.8 kB / 0.7364 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.2261, allocations: 37.7 kB / 0.7364 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.2262, allocations: 129.3 kB / 0.7366 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.2263, allocations: 154.8 kB / 0.7367 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.2265, allocations: 106.3 kB / 0.7368 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.2267, allocations: 338.8 kB / 0.7371 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.227, allocations: 149.2 kB / 0.7373 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/0.2274, allocations: 248.8 kB / 0.7375 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006746/0.2281, allocations: 398 kB / 0.7379 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.2281, allocations: 8 kB / 0.7379 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009435/0.229, allocations: 493.5 kB / 0.7384 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.2291, allocations: 11.94 kB / 0.7384 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.2291, allocations: 0 / 0.7384 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/0.2291, allocations: 8 kB / 0.7384 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/0.2295, allocations: 91.83 kB / 0.7385 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.2295, allocations: 8 kB / 0.7385 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.2298, allocations: 59.73 kB / 0.7385 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-05/0.2298, allocations: 20 kB / 0.7386 GB, free: 5.91 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.000189/0.23, allocations: 159.4 kB / 0.7387 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.2301, allocations: 35.75 kB / 0.7387 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.791e-05/0.2301, allocations: 33.95 kB / 0.7388 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.2301, allocations: 4.094 kB / 0.7388 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.2302, allocations: 3.984 kB / 0.7388 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.2302, allocations: 15.92 kB / 0.7388 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.2305, allocations: 245 kB / 0.739 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2305, allocations: 0 / 0.739 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/0.2309, allocations: 71.89 kB / 0.7391 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.2309, allocations: 0 / 0.7391 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.231, allocations: 19.94 kB / 0.7391 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.471e-05/0.231, allocations: 0 / 0.7391 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.231, allocations: 0 / 0.7391 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.2321, allocations: 0.5882 MB / 0.7397 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.2322, allocations: 35.73 kB / 0.7397 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.2322, allocations: 15.94 kB / 0.7397 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.2324, allocations: 23.97 kB / 0.7398 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.2326, allocations: 55.91 kB / 0.7398 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.2326, allocations: 24.05 kB / 0.7398 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001154/0.2327, allocations: 132.4 kB / 0.74 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2327, allocations: 192 / 0.74 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000356/0.2331, allocations: 83.94 kB / 0.74 GB, free: 4.312 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.0001632/0.2333, allocations: 119.2 kB / 0.7402 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007919/0.234, allocations: 366.6 kB / 0.7405 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.2341, allocations: 0 / 0.7405 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003761/0.2344, allocations: 175.8 kB / 0.7407 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.2348, allocations: 46.38 kB / 0.7407 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.236, allocations: 0.6262 MB / 0.7413 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.2362, allocations: 156.2 kB / 0.7415 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001636/0.2363, allocations: 42.95 kB / 0.7415 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.2364, allocations: 35.44 kB / 0.7416 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2364, allocations: 0 / 0.7416 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of Templates: time 0.009353/0.2458, allocations: 4.24 MB / 0.7457 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.086910704150796] Failed to read output from testmodel.py, exit status != 0: 0.25508566573262215 0.271668393 0.050617401000000006 Calling exit ...