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.0008265/0.0008265, allocations: 83.69 kB / 21.74 MB, free: 2.512 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.0008701/0.0008701, allocations: 172.9 kB / 25.18 MB, free: 8.918 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.9144/0.9144, allocations: 177.1 MB / 205.6 MB, free: 5.406 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.968/1.968, allocations: 389.6 MB / 0.6364 GB, free: 12.23 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.505e-06/2.505e-06, allocations: 0 / 0.7756 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.174e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage): time 0.002855/0.002887, allocations: 1.098 MB / 0.7767 GB, free: 4.855 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.004652, allocations: 1.172 MB / 0.7778 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.004754, allocations: 0 / 0.7778 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 6.365e-05/0.004818, allocations: 20.83 kB / 0.7778 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.004968, allocations: 48.2 kB / 0.7779 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.005468, allocations: 156.4 kB / 0.778 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004178/0.005886, allocations: 335 kB / 0.7784 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.006037, allocations: 39.12 kB / 0.7784 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000382/0.006419, allocations: 196.4 kB / 0.7786 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.006615, allocations: 119.6 kB / 0.7787 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.635e-05/0.006672, allocations: 29.53 kB / 0.7787 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.006775, allocations: 39.94 kB / 0.7788 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.424e-05/0.006849, allocations: 75.77 kB / 0.7788 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.006956, allocations: 104.2 kB / 0.7789 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.007272, allocations: 240.9 kB / 0.7792 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.007274, allocations: 0 / 0.7792 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.52e-07/0.007275, allocations: 0 / 0.7792 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.007282, allocations: 0 / 0.7792 GB, free: 2.312 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.0009441/0.008226, allocations: 0.528 MB / 0.7797 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.008268, allocations: 13.34 kB / 0.7797 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.008543, allocations: 72.88 kB / 0.7798 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.008683, allocations: 145 kB / 0.7799 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002981/0.008981, allocations: 499.7 kB / 0.7804 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/0.009039, allocations: 32.33 kB / 0.7804 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.009367, allocations: 215.7 kB / 0.7806 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.009388, allocations: 4.188 kB / 0.7806 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.009412, allocations: 8.375 kB / 0.7806 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.009424, allocations: 8.125 kB / 0.7806 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.009586, allocations: 73.19 kB / 0.7807 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007876/0.01037, allocations: 0.5 MB / 0.7812 GB, free: 52 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.01066, allocations: 141.3 kB / 0.7813 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.645e-05/0.01076, allocations: 62.56 kB / 0.7814 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.01079, allocations: 12 kB / 0.7814 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003089/0.0111, allocations: 244 kB / 0.7816 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 2.044e-06/0.01111, allocations: 0.5 kB / 0.7816 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.0004581/0.01156, allocations: 250.9 kB / 0.7819 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.01164, allocations: 118.7 kB / 0.782 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.01178, allocations: 177.7 kB / 0.7822 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.01182, allocations: 38.33 kB / 0.7822 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.01188, allocations: 109.3 kB / 0.7823 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.01201, allocations: 163.8 kB / 0.7825 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.01215, allocations: 102.3 kB / 0.7826 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.01228, allocations: 350.7 kB / 0.7829 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.01238, allocations: 54.02 kB / 0.7829 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.01256, allocations: 164.8 kB / 0.7831 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.01288, allocations: 262.7 kB / 0.7833 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.01289, allocations: 0 / 0.7833 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0004432/0.01333, allocations: 294 kB / 0.7836 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.01335, allocations: 4.875 kB / 0.7836 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.01336, allocations: 4 kB / 0.7836 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.01338, allocations: 4 kB / 0.7836 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.01367, allocations: 101.3 kB / 0.7837 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/0.01369, allocations: 11.94 kB / 0.7837 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.01388, allocations: 52.41 kB / 0.7838 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.01391, allocations: 21.47 kB / 0.7838 GB, free: 13.18 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.0001356/0.01405, allocations: 151.7 kB / 0.784 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.0141, allocations: 36.78 kB / 0.784 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.01416, allocations: 30.03 kB / 0.784 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.01416, allocations: 8.906 kB / 0.784 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.01417, allocations: 4 kB / 0.784 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.01418, allocations: 3.984 kB / 0.784 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.0144, allocations: 174.5 kB / 0.7842 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.0144, allocations: 0 / 0.7842 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.01469, allocations: 72.44 kB / 0.7843 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.0147, allocations: 4.562 kB / 0.7843 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.01473, allocations: 11.98 kB / 0.7843 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01473, allocations: 1.375 kB / 0.7843 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.01474, allocations: 4 kB / 0.7843 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004949/0.01523, allocations: 331 kB / 0.7846 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.01527, allocations: 32.97 kB / 0.7846 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.01531, allocations: 15.98 kB / 0.7847 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.01544, allocations: 29.5 kB / 0.7847 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.292e-05/0.01554, allocations: 43.92 kB / 0.7847 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.01556, allocations: 8 kB / 0.7847 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.736e-05/0.01562, allocations: 50.42 kB / 0.7848 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01562, allocations: 0 / 0.7848 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002955/0.01591, allocations: 81.09 kB / 0.7849 GB, free: 12.06 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.000144/0.01606, allocations: 101.3 kB / 0.785 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003721/0.01643, allocations: 244.7 kB / 0.7852 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.01644, allocations: 0 / 0.7852 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.01663, allocations: 118.7 kB / 0.7853 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.01685, allocations: 45.44 kB / 0.7854 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.01798, allocations: 0.5842 MB / 0.7859 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.01812, allocations: 160 kB / 0.7861 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.01833, allocations: 111.3 kB / 0.7862 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of SimCode: time 1.032e-06/0.01834, allocations: 2.438 kB / 0.7862 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of Templates: time 0.005685/0.02402, allocations: 4.053 MB / 0.7901 GB, free: 6.734 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 > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.MovingAverage.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.738209237344563]