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.0008628/0.0008628, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009289/0.0009289, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9691/0.9691, allocations: 177.1 MB / 204.6 MB, free: 5.496 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 2.021/2.021, allocations: 389.6 MB / 0.6354 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.265e-06/2.265e-06, allocations: 0 / 0.7752 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.976e-05, allocations: 3.406 kB / 0.7752 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.001539/0.001559, allocations: 1.052 MB / 0.7763 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.002631, allocations: 1.172 MB / 0.7774 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.002691, allocations: 0 / 0.7774 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.099e-05/0.002732, allocations: 20.66 kB / 0.7774 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.765e-05/0.00283, allocations: 46.47 kB / 0.7775 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.003174, allocations: 156.9 kB / 0.7776 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.003405, allocations: 335 kB / 0.7779 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.003516, allocations: 46.88 kB / 0.778 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.003743, allocations: 196.4 kB / 0.7782 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.003886, allocations: 120.8 kB / 0.7783 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.003921, allocations: 32 kB / 0.7783 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.45e-05/0.003976, allocations: 32 kB / 0.7784 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.583e-05/0.004021, allocations: 80.39 kB / 0.7784 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.726e-05/0.004119, allocations: 91.78 kB / 0.7785 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.00434, allocations: 236 kB / 0.7787 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.004342, allocations: 0 / 0.7787 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.42e-07/0.004342, allocations: 1.406 kB / 0.7787 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.004348, allocations: 0 / 0.7787 GB, free: 1.781 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.0007131/0.005061, allocations: 0.542 MB / 0.7793 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.005099, allocations: 9.844 kB / 0.7793 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.005296, allocations: 69.53 kB / 0.7794 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.005419, allocations: 139.6 kB / 0.7795 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002495/0.005668, allocations: 0.4958 MB / 0.78 GB, free: 384 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.005712, allocations: 36.31 kB / 0.78 GB, free: 348 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.005952, allocations: 210.5 kB / 0.7802 GB, free: 124 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.005966, allocations: 4.125 kB / 0.7802 GB, free: 120 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.005986, allocations: 12.38 kB / 0.7802 GB, free: 108 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.005994, allocations: 8.125 kB / 0.7802 GB, free: 100 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.006099, allocations: 66.75 kB / 0.7803 GB, free: 36 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.006706, allocations: 0.5076 MB / 0.7808 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.006899, allocations: 131.5 kB / 0.7809 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.39e-05/0.006963, allocations: 66.56 kB / 0.781 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.006988, allocations: 11.94 kB / 0.781 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.007189, allocations: 236.1 kB / 0.7812 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 1.463e-06/0.007191, allocations: 0 / 0.7812 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0003049/0.007495, allocations: 254.5 kB / 0.7815 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.007545, allocations: 116.4 kB / 0.7816 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.199e-05/0.007637, allocations: 173.7 kB / 0.7817 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.007665, allocations: 41.7 kB / 0.7818 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.007707, allocations: 109.3 kB / 0.7819 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.099e-05/0.007788, allocations: 158.7 kB / 0.782 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.419e-05/0.007872, allocations: 106.8 kB / 0.7821 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.596e-05/0.007958, allocations: 355.9 kB / 0.7825 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-05/0.008022, allocations: 53.3 kB / 0.7825 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.008133, allocations: 168.6 kB / 0.7827 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.008324, allocations: 259.3 kB / 0.7829 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.00833, allocations: 8 kB / 0.7829 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000259/0.008589, allocations: 289.4 kB / 0.7832 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.008601, allocations: 4 kB / 0.7832 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.008607, allocations: 4.594 kB / 0.7832 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.00862, allocations: 5.344 kB / 0.7832 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.008802, allocations: 95.83 kB / 0.7833 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.008808, allocations: 4 kB / 0.7833 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.008923, allocations: 57.41 kB / 0.7834 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.008942, allocations: 19.94 kB / 0.7834 GB, free: 12.64 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.0001064/0.009048, allocations: 156.8 kB / 0.7835 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.009084, allocations: 35.97 kB / 0.7836 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.009123, allocations: 30.47 kB / 0.7836 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.009128, allocations: 8.906 kB / 0.7836 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.009131, allocations: 0 / 0.7836 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.009137, allocations: 7.922 kB / 0.7836 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.00929, allocations: 166.9 kB / 0.7838 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.009292, allocations: 0 / 0.7838 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.009478, allocations: 71.91 kB / 0.7838 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.00948, allocations: 0.625 kB / 0.7839 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.0095, allocations: 15.98 kB / 0.7839 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.009503, allocations: 4.531 kB / 0.7839 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.009504, allocations: 0.6875 kB / 0.7839 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.009845, allocations: 340.6 kB / 0.7842 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.009863, allocations: 27.75 kB / 0.7842 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.009889, allocations: 11.98 kB / 0.7842 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/0.009978, allocations: 39.16 kB / 0.7843 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.01006, allocations: 59.91 kB / 0.7843 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.01008, allocations: 15.98 kB / 0.7843 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.692e-05/0.01012, allocations: 45.88 kB / 0.7844 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01012, allocations: 0 / 0.7844 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001726/0.01029, allocations: 76 kB / 0.7845 GB, free: 11.51 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.978e-05/0.01038, allocations: 99.39 kB / 0.7846 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.01062, allocations: 243.6 kB / 0.7848 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.01063, allocations: 4 kB / 0.7848 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.01074, allocations: 113.7 kB / 0.7849 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.0109, allocations: 45.66 kB / 0.7849 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007555/0.01165, allocations: 0.562 MB / 0.7855 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.837e-05/0.0117, allocations: 97.61 kB / 0.7856 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.441e-05/0.01179, allocations: 35.53 kB / 0.7856 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.01191, allocations: 115.3 kB / 0.7857 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of SimCode: time 9.92e-07/0.01192, allocations: 0 / 0.7857 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of Templates: time 0.005218/0.01713, allocations: 3.955 MB / 0.7896 GB, free: 6.375 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.073384071234614]