Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.266/2.266, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001371/0.00137, allocations: 187 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.507/2.507, allocations: 205.4 MB / 0.5772 GB, free: 21.12 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.0008955/0.0008953, allocations: 96.41 kB / 0.6817 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004696, allocations: 18.16 kB / 0.7958 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2523, allocations: 106.3 MB / 0.8995 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002493/0.2548, allocations: 1.693 MB / 0.9012 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.2562, allocations: 0.6672 MB / 0.9018 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.2563, allocations: 0 / 0.9018 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.76e-05/0.2563, allocations: 11.86 kB / 0.9018 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.2565, allocations: 35.7 kB / 0.9019 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004922/0.257, allocations: 115.9 kB / 0.902 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.2574, allocations: 287.1 kB / 0.9023 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.2575, allocations: 44.39 kB / 0.9023 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.2577, allocations: 111.7 kB / 0.9024 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.258, allocations: 135.5 kB / 0.9025 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.042e-05/0.258, allocations: 15.94 kB / 0.9026 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.329e-05/0.2581, allocations: 16 kB / 0.9026 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.663e-05/0.2582, allocations: 63.78 kB / 0.9026 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.786e-05/0.2582, allocations: 61.58 kB / 0.9027 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.2585, allocations: 203.5 kB / 0.9029 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2585, allocations: 8 kB / 0.9029 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2585, allocations: 4 kB / 0.9029 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2585, allocations: 0 / 0.9029 GB, free: 62.51 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.001585/0.2601, allocations: 0.6003 MB / 0.9035 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.2602, allocations: 8.031 kB / 0.9035 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.664e-05/0.2603, allocations: 36.56 kB / 0.9035 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.2604, allocations: 197 kB / 0.9037 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002003/0.2607, allocations: 268.2 kB / 0.904 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/0.2607, allocations: 24.38 kB / 0.904 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007175/0.2615, allocations: 277.8 kB / 0.9043 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.2615, allocations: 0 / 0.9043 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.038e-05/0.2616, allocations: 8 kB / 0.9043 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.2616, allocations: 7.984 kB / 0.9043 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007114/0.2623, allocations: 195.8 kB / 0.9045 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.2638, allocations: 0.7853 MB / 0.9052 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/0.2645, allocations: 207.7 kB / 0.9054 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000413/0.2649, allocations: 134.5 kB / 0.9056 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.571e-05/0.265, allocations: 15.98 kB / 0.9056 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008156/0.2658, allocations: 315.6 kB / 0.9059 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 3.807e-06/0.2658, allocations: 0 / 0.9059 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.001603/0.2674, allocations: 0.4958 MB / 0.9064 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.2675, allocations: 114.8 kB / 0.9065 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.2677, allocations: 175.4 kB / 0.9066 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.2678, allocations: 49.62 kB / 0.9067 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.2678, allocations: 117.3 kB / 0.9068 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.268, allocations: 150 kB / 0.9069 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.268, allocations: 12 kB / 0.9069 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.2681, allocations: 342.8 kB / 0.9073 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/0.2686, allocations: 149.2 kB / 0.9074 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005625/0.2692, allocations: 252.8 kB / 0.9077 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/0.2698, allocations: 175.9 kB / 0.9078 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.2698, allocations: 8 kB / 0.9078 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001317/0.2711, allocations: 489.4 kB / 0.9083 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.2711, allocations: 7.938 kB / 0.9083 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.2712, allocations: 4 kB / 0.9083 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.2712, allocations: 8 kB / 0.9083 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006915/0.2719, allocations: 99.83 kB / 0.9084 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/0.2719, allocations: 8.141 kB / 0.9084 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004796/0.2724, allocations: 71.66 kB / 0.9085 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.2725, allocations: 23.98 kB / 0.9085 GB, free: 56.38 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 ($whenCondition5,$PRE.movingMean_1.mode,movingMean_1.mode,$whenCondition6,$PRE.movingMean_2.mode,movingMean_2.mode,$whenCondition7,$PRE.movingMean_3.mode,movingMean_3.mode,$whenCondition8,$PRE.movingMean_4.mode,movingMean_4.mode,$whenCondition9,$PRE.movingMean_5.mode,movingMean_5.mode,$whenCondition3,$PRE.movingMean_6.mode,movingMean_6.mode,$whenCondition4,$PRE.movingMean_7.mode,movingMean_7.mode,$whenCondition1,$PRE.movingMean_8.mode,movingMean_8.mode,$whenCondition2,$PRE.movingMean_9.mode,movingMean_9.mode) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002146/0.2727, allocations: 159.9 kB / 0.9087 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/0.2728, allocations: 31.66 kB / 0.9087 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.065e-05/0.2729, allocations: 37.94 kB / 0.9087 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.2729, allocations: 0 / 0.9087 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2729, allocations: 0 / 0.9087 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.054e-05/0.273, allocations: 108.7 kB / 0.9088 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.998e-05/0.273, allocations: 8 kB / 0.9088 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.2735, allocations: 47.97 kB / 0.9089 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.2737, allocations: 43.88 kB / 0.9089 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001848/0.2755, allocations: 0.6905 MB / 0.9096 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001792/0.2773, allocations: 0.8894 MB / 0.9105 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005196/0.2779, allocations: 165 kB / 0.9106 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001067/0.278, allocations: 125.2 kB / 0.9107 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of Backend: time 7.92e-07/0.278, allocations: 0 / 0.9107 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0014/0.2794, allocations: 358.1 kB / 0.9111 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of SimCode: time 0.00122/0.2807, allocations: 1.105 MB / 0.9122 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of Templates: time 0.01104/0.2917, allocations: 3.946 MB / 0.916 GB, free: 48.61 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)