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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001395/0.001395, allocations: 174.8 kB / 326.5 MB, free: 2.684 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.852/1.852, allocations: 205 MB / 0.5766 GB, free: 21 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.0007569/0.0007569, allocations: 98.33 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 12.84 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2395, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.00193/0.2415, allocations: 1.76 MB / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009381/0.2424, allocations: 0.6978 MB / 0.8992 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.2425, allocations: 4 kB / 0.8992 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.058e-05/0.2426, allocations: 11.86 kB / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.2427, allocations: 31.72 kB / 0.8992 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.2431, allocations: 139.8 kB / 0.8993 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.2433, allocations: 307.1 kB / 0.8996 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.2434, allocations: 44.33 kB / 0.8997 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.2436, allocations: 119.6 kB / 0.8998 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.2437, allocations: 135.4 kB / 0.8999 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.2437, allocations: 16 kB / 0.8999 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.238e-05/0.2438, allocations: 16 kB / 0.8999 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.206e-05/0.2438, allocations: 59.8 kB / 0.9 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.072e-05/0.2439, allocations: 119.4 kB / 0.9001 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.2441, allocations: 203.5 kB / 0.9003 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2441, allocations: 0 / 0.9003 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2441, allocations: 0 / 0.9003 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.2441, allocations: 0 / 0.9003 GB, free: 64.49 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.0009655/0.2451, allocations: 0.6082 MB / 0.9009 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2451, allocations: 8.031 kB / 0.9009 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.2452, allocations: 32.56 kB / 0.9009 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.541e-05/0.2453, allocations: 208.8 kB / 0.9011 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.2455, allocations: 260.3 kB / 0.9014 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.2455, allocations: 32.31 kB / 0.9014 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.2459, allocations: 273.8 kB / 0.9017 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.2459, allocations: 0 / 0.9017 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.246, allocations: 8 kB / 0.9017 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.246, allocations: 4 kB / 0.9017 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.2464, allocations: 195.8 kB / 0.9019 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000858/0.2472, allocations: 0.7815 MB / 0.9026 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/0.2476, allocations: 215.7 kB / 0.9029 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.2479, allocations: 134.5 kB / 0.903 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.658e-05/0.2479, allocations: 19.97 kB / 0.903 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004393/0.2484, allocations: 315.6 kB / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 1.784e-06/0.2484, allocations: 0 / 0.9033 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.0008464/0.2492, allocations: 0.5 MB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.2493, allocations: 122.8 kB / 0.9039 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.2494, allocations: 179.4 kB / 0.9041 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.2494, allocations: 41.7 kB / 0.9041 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.2495, allocations: 121.3 kB / 0.9042 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.735e-05/0.2496, allocations: 146 kB / 0.9044 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.2496, allocations: 57.69 kB / 0.9044 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.257e-05/0.2497, allocations: 338.8 kB / 0.9048 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.2499, allocations: 161.2 kB / 0.9049 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.2502, allocations: 260.7 kB / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/0.2507, allocations: 410 kB / 0.9055 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2508, allocations: 0 / 0.9055 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006666/0.2514, allocations: 0.4897 MB / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2515, allocations: 11.98 kB / 0.906 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2515, allocations: 80 / 0.906 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2515, allocations: 8 kB / 0.906 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/0.2518, allocations: 99.83 kB / 0.9061 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.2519, allocations: 7.984 kB / 0.9061 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.2521, allocations: 71.66 kB / 0.9062 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.2521, allocations: 20 kB / 0.9062 GB, free: 58.01 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.0001238/0.2523, allocations: 160 kB / 0.9064 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.2523, allocations: 31.59 kB / 0.9064 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.479e-05/0.2524, allocations: 33.86 kB / 0.9064 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2524, allocations: 4.094 kB / 0.9065 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.2524, allocations: 8 kB / 0.9065 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.2524, allocations: 3.984 kB / 0.9065 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.2527, allocations: 357.1 kB / 0.9068 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2527, allocations: 0 / 0.9068 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.2531, allocations: 79.83 kB / 0.9069 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2531, allocations: 0 / 0.9069 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.2531, allocations: 16 kB / 0.9069 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.2531, allocations: 3.984 kB / 0.9069 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2531, allocations: 3.938 kB / 0.9069 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008692/0.254, allocations: 0.6057 MB / 0.9075 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.254, allocations: 104.7 kB / 0.9076 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.707e-05/0.2541, allocations: 12.06 kB / 0.9076 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.2543, allocations: 47.95 kB / 0.9076 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/0.2544, allocations: 35.95 kB / 0.9077 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.2545, allocations: 15.98 kB / 0.9077 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.402e-05/0.2545, allocations: 125.2 kB / 0.9078 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2545, allocations: 192 / 0.9078 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002754/0.2548, allocations: 79.94 kB / 0.9079 GB, free: 56.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (movingMean_1.mu,movingMean_2.mu,movingMean_3.mu,movingMean_4.mu,movingMean_5.mu,movingMean_6.mu,movingMean_7.mu,movingMean_8.mu,movingMean_9.mu) * Number of discrete variables: 18 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,movingMean_1.mode,movingMean_2.mode,movingMean_3.mode,movingMean_4.mode,movingMean_5.mode,$whenCondition4,$whenCondition3,movingMean_6.mode,movingMean_7.mode,$whenCondition2,$whenCondition1,movingMean_8.mode,movingMean_9.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.0001558/0.255, allocations: 128.5 kB / 0.908 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006023/0.2556, allocations: 386.7 kB / 0.9084 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2556, allocations: 4 kB / 0.9084 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000287/0.2559, allocations: 191.7 kB / 0.9086 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.2562, allocations: 45.03 kB / 0.9086 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009334/0.2572, allocations: 0.7193 MB / 0.9093 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.2573, allocations: 0.7647 MB / 0.9101 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.2575, allocations: 35.42 kB / 0.9101 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.2575, allocations: 0 / 0.9101 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.00457/0.262, allocations: 3.946 MB / 0.914 GB, free: 49.95 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)