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.001375/0.001375, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001614/0.001614, allocations: 164.5 kB / 25.05 MB, free: 9.148 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 0.9235/0.9235, allocations: 177.1 MB / 205.5 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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 1.915/1.915, allocations: 389.6 MB / 0.6363 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] 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.986e-06/2.986e-06, allocations: 0 / 0.7762 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.928e-05, allocations: 6.484 kB / 0.7762 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.003212/0.003241, allocations: 1.109 MB / 0.7773 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.004569, allocations: 1.165 MB / 0.7784 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.004641, allocations: 4.562 kB / 0.7784 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.298e-05/0.004694, allocations: 15.75 kB / 0.7784 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.004811, allocations: 49.72 kB / 0.7785 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.005182, allocations: 148.9 kB / 0.7786 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.00547, allocations: 339 kB / 0.779 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003172/0.008642, allocations: 43.91 kB / 0.779 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003626/0.009005, allocations: 191.7 kB / 0.7792 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.00917, allocations: 119.6 kB / 0.7793 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.009211, allocations: 28.97 kB / 0.7793 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.331e-05/0.009294, allocations: 43.94 kB / 0.7794 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.00935, allocations: 76.36 kB / 0.7794 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.009427, allocations: 99.72 kB / 0.7795 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.009678, allocations: 235.8 kB / 0.7798 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.00968, allocations: 3.938 kB / 0.7798 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.72e-07/0.009681, allocations: 0.6562 kB / 0.7798 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.009685, allocations: 0.5625 kB / 0.7798 GB, free: 1.586 MB / 0.7292 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.0007586/0.01044, allocations: 0.5347 MB / 0.7803 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.01048, allocations: 9.344 kB / 0.7803 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.0107, allocations: 74.91 kB / 0.7804 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.01081, allocations: 138.3 kB / 0.7805 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.01104, allocations: 0.4919 MB / 0.781 GB, free: 192 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.01108, allocations: 32.33 kB / 0.781 GB, free: 160 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.01135, allocations: 216.8 kB / 0.7812 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.01136, allocations: 192 / 0.7812 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.01138, allocations: 8.875 kB / 0.7812 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.01139, allocations: 8.875 kB / 0.7812 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.01265, allocations: 62.81 kB / 0.7813 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006254/0.01327, allocations: 0.5094 MB / 0.7818 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.0135, allocations: 124.7 kB / 0.7819 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.609e-05/0.01359, allocations: 70.44 kB / 0.782 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.01363, allocations: 13.25 kB / 0.782 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002944/0.01392, allocations: 248 kB / 0.7822 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 2.114e-06/0.01392, allocations: 1.75 kB / 0.7822 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0004228/0.01435, allocations: 250.4 kB / 0.7825 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.01441, allocations: 114.8 kB / 0.7826 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.01452, allocations: 181.7 kB / 0.7828 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.01455, allocations: 37.7 kB / 0.7828 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.0146, allocations: 110.5 kB / 0.7829 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.0147, allocations: 162.7 kB / 0.783 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.01482, allocations: 102.3 kB / 0.7831 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.01492, allocations: 351.3 kB / 0.7835 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.501e-05/0.01501, allocations: 57.3 kB / 0.7835 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.01516, allocations: 165.9 kB / 0.7837 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.01543, allocations: 261.9 kB / 0.7839 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01543, allocations: 0 / 0.7839 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0003386/0.01577, allocations: 286.7 kB / 0.7842 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.01578, allocations: 4 kB / 0.7842 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.01579, allocations: 4.578 kB / 0.7842 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.01581, allocations: 4.781 kB / 0.7842 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.01608, allocations: 99.83 kB / 0.7843 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.01608, allocations: 12.92 kB / 0.7843 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.01623, allocations: 56.22 kB / 0.7844 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.01626, allocations: 21.72 kB / 0.7844 GB, free: 12.45 MB / 0.7448 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.0001175/0.01638, allocations: 159.7 kB / 0.7846 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.01642, allocations: 31.97 kB / 0.7846 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.01647, allocations: 32.88 kB / 0.7846 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.01647, allocations: 4 kB / 0.7846 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.01648, allocations: 4 kB / 0.7846 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.01648, allocations: 3.984 kB / 0.7846 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.01668, allocations: 177.5 kB / 0.7848 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01669, allocations: 0 / 0.7848 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.01695, allocations: 71.91 kB / 0.7849 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.01696, allocations: 7.031 kB / 0.7849 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.01698, allocations: 11.98 kB / 0.7849 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.01699, allocations: 0 / 0.7849 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01699, allocations: 4 kB / 0.7849 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.01742, allocations: 335 kB / 0.7852 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.696e-05/0.01745, allocations: 31.8 kB / 0.7852 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.01748, allocations: 16 kB / 0.7853 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.0176, allocations: 29.47 kB / 0.7853 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.01771, allocations: 59.91 kB / 0.7853 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.01773, allocations: 15.98 kB / 0.7854 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.424e-05/0.01778, allocations: 50.92 kB / 0.7854 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01778, allocations: 0 / 0.7854 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002431/0.01802, allocations: 76 kB / 0.7855 GB, free: 11.31 MB / 0.7448 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.000133/0.01815, allocations: 94.61 kB / 0.7856 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.01849, allocations: 250 kB / 0.7858 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.01849, allocations: 1.031 kB / 0.7858 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.01865, allocations: 117.6 kB / 0.7859 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.01885, allocations: 50.31 kB / 0.786 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009187/0.01977, allocations: 0.5538 MB / 0.7865 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.496e-05/0.01984, allocations: 99.08 kB / 0.7866 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001231/0.01996, allocations: 35.03 kB / 0.7866 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.02012, allocations: 107.3 kB / 0.7867 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.02012, allocations: 0 / 0.7867 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of Templates: time 0.006962/0.02708, allocations: 3.951 MB / 0.7906 GB, free: 6.18 MB / 0.7448 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: 5.040885651484132]