Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.449/1.449, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009919/0.0009923, allocations: 174.5 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.923/1.923, allocations: 205 MB / 0.5766 GB, free: 21.05 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009271/0.0009275, allocations: 88.61 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.000314, allocations: 12.25 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.214, allocations: 105.4 MB / 0.8968 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002067/0.2161, allocations: 1.756 MB / 0.8985 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.2173, allocations: 0.6978 MB / 0.8992 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.2175, allocations: 0 / 0.8992 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.433e-05/0.2176, allocations: 19.84 kB / 0.8992 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.2178, allocations: 31.7 kB / 0.8992 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000492/0.2183, allocations: 131.8 kB / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.2186, allocations: 311.1 kB / 0.8996 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.2187, allocations: 52.31 kB / 0.8997 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.219, allocations: 115.6 kB / 0.8998 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.2191, allocations: 131.4 kB / 0.8999 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.168e-05/0.2192, allocations: 15.94 kB / 0.8999 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.882e-05/0.2192, allocations: 16 kB / 0.9 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.299e-05/0.2193, allocations: 59.8 kB / 0.9 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.2194, allocations: 123.3 kB / 0.9001 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.2197, allocations: 283 kB / 0.9004 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2197, allocations: 0 / 0.9004 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2197, allocations: 0 / 0.9004 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.2197, allocations: 0 / 0.9004 GB, free: 64.45 MB / 0.6042 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.00113/0.2208, allocations: 0.6081 MB / 0.901 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.2209, allocations: 8.031 kB / 0.901 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.221, allocations: 36.56 kB / 0.901 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.2211, allocations: 196.8 kB / 0.9012 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.2213, allocations: 268.3 kB / 0.9015 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/0.2214, allocations: 28.38 kB / 0.9015 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.2218, allocations: 269.8 kB / 0.9018 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.2219, allocations: 4 kB / 0.9018 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.2219, allocations: 4 kB / 0.9018 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.2219, allocations: 8 kB / 0.9018 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/0.2223, allocations: 191.8 kB / 0.902 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009333/0.2233, allocations: 0.7854 MB / 0.9027 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.2237, allocations: 211.9 kB / 0.9029 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.2239, allocations: 138.5 kB / 0.9031 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/0.224, allocations: 11.92 kB / 0.9031 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004473/0.2244, allocations: 323.6 kB / 0.9034 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 2.835e-06/0.2244, allocations: 0 / 0.9034 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.0008749/0.2253, allocations: 0.4929 MB / 0.9039 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.2254, allocations: 118.7 kB / 0.904 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.2255, allocations: 183.4 kB / 0.9042 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.2255, allocations: 37.7 kB / 0.9042 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.2256, allocations: 117.3 kB / 0.9043 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.292e-05/0.2257, allocations: 146 kB / 0.9044 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.978e-05/0.2257, allocations: 61.69 kB / 0.9045 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.66e-05/0.2258, allocations: 346.8 kB / 0.9048 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.2261, allocations: 149.2 kB / 0.905 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/0.2264, allocations: 260.8 kB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005063/0.2269, allocations: 410 kB / 0.9056 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.2269, allocations: 0 / 0.9056 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007057/0.2277, allocations: 0.4891 MB / 0.9061 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2277, allocations: 15.88 kB / 0.9061 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.2277, allocations: 4 kB / 0.9061 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.2277, allocations: 4 kB / 0.9061 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.2281, allocations: 103.8 kB / 0.9062 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/0.2281, allocations: 12 kB / 0.9062 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.2284, allocations: 67.66 kB / 0.9063 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.2284, allocations: 20 kB / 0.9063 GB, free: 57.98 MB / 0.6042 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 (movingMean_1.mode,$PRE.movingMean_1.mode,$whenCondition5,movingMean_2.mode,$PRE.movingMean_2.mode,$whenCondition6,movingMean_3.mode,$PRE.movingMean_3.mode,$whenCondition7,movingMean_4.mode,$PRE.movingMean_4.mode,$whenCondition8,movingMean_5.mode,$PRE.movingMean_5.mode,$whenCondition9,movingMean_6.mode,$PRE.movingMean_6.mode,$whenCondition3,movingMean_7.mode,$PRE.movingMean_7.mode,$whenCondition4,movingMean_8.mode,$PRE.movingMean_8.mode,$whenCondition1,movingMean_9.mode,$PRE.movingMean_9.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.0001315/0.2285, allocations: 164 kB / 0.9065 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.2286, allocations: 27.66 kB / 0.9065 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.553e-05/0.2287, allocations: 29.88 kB / 0.9065 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.2287, allocations: 11.92 kB / 0.9065 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.2287, allocations: 0 / 0.9065 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.2287, allocations: 104.7 kB / 0.9066 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.2288, allocations: 12.08 kB / 0.9066 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.229, allocations: 52.03 kB / 0.9067 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.2291, allocations: 55.91 kB / 0.9067 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009523/0.2301, allocations: 0.6905 MB / 0.9074 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009984/0.2311, allocations: 0.8983 MB / 0.9083 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003129/0.2314, allocations: 183.8 kB / 0.9085 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.369e-05/0.2315, allocations: 129.2 kB / 0.9086 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of Backend: time 2.91e-07/0.2315, allocations: 0 / 0.9086 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008721/0.2324, allocations: 360 kB / 0.9089 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0009094/0.2333, allocations: 1.075 MB / 0.91 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of Templates: time 0.007242/0.2406, allocations: 4.337 MB / 0.9142 GB, free: 49.81 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)