Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.002051/0.002051, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.002147/0.002147, allocations: 173.6 kB / 23.24 MB, free: 1.324 MB / 18.57 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.612/1.612, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.385/3.385, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.409e-05, allocations: 2.281 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002596/0.00263, allocations: 1.042 MB / 1.002 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.004488, allocations: 1.135 MB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.649e-05/0.004575, allocations: 0 / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 6.004e-05/0.004635, allocations: 19.73 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.00477, allocations: 43.52 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005441/0.005314, allocations: 155.7 kB / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004281/0.005742, allocations: 338.9 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.005909, allocations: 36.56 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003421/0.006251, allocations: 199.6 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.006484, allocations: 119.6 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.56e-05/0.006539, allocations: 28 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.295e-05/0.006622, allocations: 36 kB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.888e-05/0.006711, allocations: 75.77 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.006839, allocations: 107.7 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004425/0.007282, allocations: 335 kB / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.007287, allocations: 4 kB / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.463e-06/0.007289, allocations: 0 / 1.005 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.007294, allocations: 7.938 kB / 1.005 GB, free: 9.266 MB / 0.9636 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.001367/0.008662, allocations: 0.5522 MB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.008707, allocations: 9.344 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003389/0.009046, allocations: 60.72 kB / 1.005 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.009217, allocations: 142.2 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004661/0.009683, allocations: 499.7 kB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-05/0.009753, allocations: 28.38 kB / 1.006 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/0.01032, allocations: 259.1 kB / 1.006 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.01034, allocations: 4.141 kB / 1.006 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.01037, allocations: 16.36 kB / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.01039, allocations: 8.125 kB / 1.006 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006331/0.01102, allocations: 175.8 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.01225, allocations: 0.6525 MB / 1.007 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005882/0.01284, allocations: 199.7 kB / 1.007 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002856/0.01313, allocations: 126.5 kB / 1.007 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-05/0.01318, allocations: 11.98 kB / 1.007 GB, free: 6.297 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000598/0.01378, allocations: 312.2 kB / 1.008 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=48): time 2.465e-06/0.01378, allocations: 0 / 1.008 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of matching and sorting (n=48): time 0.001161/0.01494, allocations: 488.9 kB / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.01508, allocations: 115.2 kB / 1.008 GB, free: 5.352 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.01536, allocations: 180.6 kB / 1.008 GB, free: 5.164 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.117e-05/0.01542, allocations: 41.7 kB / 1.008 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.01555, allocations: 121.3 kB / 1.009 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.01575, allocations: 154.8 kB / 1.009 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.01594, allocations: 110.3 kB / 1.009 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002306/0.01618, allocations: 334.8 kB / 1.009 GB, free: 4.387 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000535/0.01671, allocations: 149.2 kB / 1.009 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005341/0.01724, allocations: 268.7 kB / 1.01 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000707/0.01795, allocations: 390.1 kB / 1.01 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01795, allocations: 0 / 1.01 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009214/0.01888, allocations: 489 kB / 1.01 GB, free: 3.039 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.01889, allocations: 4 kB / 1.01 GB, free: 3.035 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.0189, allocations: 8 kB / 1.01 GB, free: 3.027 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.01893, allocations: 8 kB / 1.01 GB, free: 3.02 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.01933, allocations: 91.83 kB / 1.011 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/0.01935, allocations: 11.88 kB / 1.011 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002789/0.01963, allocations: 63.7 kB / 1.011 GB, free: 2.855 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.01967, allocations: 23.98 kB / 1.011 GB, free: 2.832 MB / 0.9636 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.0002137/0.01988, allocations: 159.7 kB / 1.011 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.01994, allocations: 23.86 kB / 1.011 GB, free: 2.645 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.105e-05/0.02002, allocations: 33.95 kB / 1.011 GB, free: 2.613 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.02003, allocations: 8 kB / 1.011 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.02004, allocations: 0 / 1.011 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.02005, allocations: 3.938 kB / 1.011 GB, free: 2.602 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.0204, allocations: 237 kB / 1.011 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.0204, allocations: 0 / 1.011 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/0.02081, allocations: 79.95 kB / 1.011 GB, free: 2.262 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.02082, allocations: 4 kB / 1.011 GB, free: 2.258 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.02086, allocations: 15.98 kB / 1.011 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.02086, allocations: 4 kB / 1.011 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02086, allocations: 0 / 1.011 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.02209, allocations: 0.5917 MB / 1.012 GB, free: 1.621 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.02212, allocations: 23.8 kB / 1.012 GB, free: 1.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/0.02217, allocations: 11.98 kB / 1.012 GB, free: 1.586 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.0224, allocations: 35.97 kB / 1.012 GB, free: 1.551 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.02256, allocations: 63.78 kB / 1.012 GB, free: 1.488 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.02259, allocations: 12 kB / 1.012 GB, free: 1.477 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001253/0.02272, allocations: 133.1 kB / 1.012 GB, free: 1.348 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.02272, allocations: 0 / 1.012 GB, free: 1.348 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003417/0.02306, allocations: 83.89 kB / 1.012 GB, free: 1.266 MB / 0.9636 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.0002292/0.02329, allocations: 122.6 kB / 1.012 GB, free: 1.141 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0008372/0.02413, allocations: 377.5 kB / 1.013 GB, free: 0.7734 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02413, allocations: 0 / 1.013 GB, free: 0.7734 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004173/0.02455, allocations: 184.4 kB / 1.013 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.0249, allocations: 44.11 kB / 1.013 GB, free: 0.5508 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.02635, allocations: 0.5639 MB / 1.013 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.02652, allocations: 152.2 kB / 1.013 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.00017/0.02669, allocations: 47.22 kB / 1.014 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.0268, allocations: 36.5 kB / 1.014 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of SimCode: time 9.32e-07/0.0268, allocations: 0 / 1.014 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of Templates: time 0.00964/0.03644, allocations: 4 MB / 1.017 GB, free: 11.76 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.431359061039984]