Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009042/0.0009042, allocations: 79.69 kB / 21.74 MB, free: 2.52 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.001023/0.001023, allocations: 170.3 kB / 25.18 MB, free: 8.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 0.9026/0.9026, allocations: 177.2 MB / 205.6 MB, free: 3.996 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.945/1.945, allocations: 389.6 MB / 0.6364 GB, free: 13.32 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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7756 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.656e-05, allocations: 2.312 kB / 0.7756 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart): time 0.002236/0.002252, allocations: 2.011 MB / 0.7776 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.003292, allocations: 0.7321 MB / 0.7783 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.003372, allocations: 0 / 0.7783 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.071e-05/0.003423, allocations: 23.67 kB / 0.7783 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.003524, allocations: 51.45 kB / 0.7784 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.003908, allocations: 183.6 kB / 0.7786 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000255/0.004163, allocations: 331 kB / 0.7789 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.004271, allocations: 30.89 kB / 0.7789 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.004489, allocations: 199.6 kB / 0.7791 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.004621, allocations: 119.6 kB / 0.7792 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.004659, allocations: 32 kB / 0.7793 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.877e-05/0.004728, allocations: 32 kB / 0.7793 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.004776, allocations: 83.77 kB / 0.7794 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.204e-05/0.004848, allocations: 99.7 kB / 0.7795 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.005073, allocations: 239.2 kB / 0.7797 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.005076, allocations: 0 / 0.7797 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005077, allocations: 0 / 0.7797 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.005081, allocations: 4 kB / 0.7797 GB, free: 10.35 MB / 0.7448 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.000689/0.00577, allocations: 0.5465 MB / 0.7802 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.005798, allocations: 8.031 kB / 0.7802 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.005973, allocations: 72.86 kB / 0.7803 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.006155, allocations: 161.4 kB / 0.7805 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.006345, allocations: 0.4919 MB / 0.7809 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.006381, allocations: 36.31 kB / 0.781 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.006588, allocations: 207.8 kB / 0.7812 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.006602, allocations: 4.172 kB / 0.7812 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.00662, allocations: 12.12 kB / 0.7812 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.006626, allocations: 4 kB / 0.7812 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.915e-05/0.006726, allocations: 63.91 kB / 0.7812 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.007221, allocations: 0.5194 MB / 0.7818 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.007398, allocations: 127.6 kB / 0.7819 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.948e-05/0.007467, allocations: 70.5 kB / 0.7819 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.007494, allocations: 8 kB / 0.782 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.007698, allocations: 252 kB / 0.7822 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 1.783e-06/0.007699, allocations: 0 / 0.7822 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0002928/0.007992, allocations: 245.8 kB / 0.7824 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.008041, allocations: 123.1 kB / 0.7825 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.008142, allocations: 186.3 kB / 0.7827 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.008164, allocations: 41.7 kB / 0.7828 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.008204, allocations: 113.3 kB / 0.7829 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-05/0.008284, allocations: 158.7 kB / 0.783 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.487e-05/0.008369, allocations: 106.3 kB / 0.7831 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.121e-05/0.00845, allocations: 346.7 kB / 0.7835 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.416e-05/0.008514, allocations: 57.28 kB / 0.7835 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.008624, allocations: 160.7 kB / 0.7837 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.008828, allocations: 265.9 kB / 0.7839 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.008832, allocations: 4 kB / 0.7839 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000271/0.009103, allocations: 281.8 kB / 0.7842 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.009114, allocations: 11.94 kB / 0.7842 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.009121, allocations: 4 kB / 0.7842 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.009131, allocations: 8 kB / 0.7842 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.009327, allocations: 99.81 kB / 0.7843 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.009335, allocations: 12.14 kB / 0.7843 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.00945, allocations: 55.69 kB / 0.7844 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.009469, allocations: 19.94 kB / 0.7844 GB, free: 5.121 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 8.965e-05/0.009558, allocations: 155.7 kB / 0.7845 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/0.009654, allocations: 31.97 kB / 0.7846 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.009693, allocations: 33.95 kB / 0.7846 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.009697, allocations: 8 kB / 0.7846 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.0097, allocations: 0 / 0.7846 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.009706, allocations: 3.938 kB / 0.7846 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.009857, allocations: 173.6 kB / 0.7848 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.00986, allocations: 4 kB / 0.7848 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.01005, allocations: 71.89 kB / 0.7848 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01006, allocations: 4 kB / 0.7849 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.01008, allocations: 15.98 kB / 0.7849 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.01008, allocations: 7.938 kB / 0.7849 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01008, allocations: 4.062 kB / 0.7849 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.0104, allocations: 323.9 kB / 0.7852 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.01042, allocations: 27.75 kB / 0.7852 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.01044, allocations: 12 kB / 0.7852 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-05/0.01053, allocations: 27.97 kB / 0.7853 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.01059, allocations: 47.86 kB / 0.7853 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.0106, allocations: 19.98 kB / 0.7853 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.422e-05/0.01064, allocations: 53.7 kB / 0.7854 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01064, allocations: 0 / 0.7854 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001737/0.01081, allocations: 83.94 kB / 0.7854 GB, free: 3.984 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 8.336e-05/0.01089, allocations: 96.34 kB / 0.7855 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.01113, allocations: 233.3 kB / 0.7858 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.01114, allocations: 11.94 kB / 0.7858 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.01125, allocations: 117.6 kB / 0.7859 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.0114, allocations: 43.97 kB / 0.7859 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007257/0.01212, allocations: 0.5946 MB / 0.7865 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.736e-05/0.01221, allocations: 160.1 kB / 0.7867 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.01237, allocations: 115.3 kB / 0.7868 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.01237, allocations: 0 / 0.7868 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of Templates: time 0.00415/0.01652, allocations: 4.112 MB / 0.7908 GB, free: 14.46 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage_nonZeroStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.96682255808264]