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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007363/0.007363, allocations: 101.9 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 194 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.703/1.703, allocations: 251.7 MB / 0.5094 GB, free: 2.984 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 77.77 kB / 0.7259 GB, free: 8.926 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2658, allocations: 104.7 MB / 0.8281 GB, free: 124 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.004551/0.2705, allocations: 2.048 MB / 0.8301 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.2719, allocations: 0.6981 MB / 0.8308 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.66e-05/0.272, allocations: 0 / 0.8308 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.45e-05/0.272, allocations: 23.67 kB / 0.8308 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.2722, allocations: 39.58 kB / 0.8309 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.2727, allocations: 155.7 kB / 0.831 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003596/0.2731, allocations: 327.1 kB / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.2733, allocations: 48.31 kB / 0.8314 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.2735, allocations: 123.7 kB / 0.8315 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.2737, allocations: 155.3 kB / 0.8316 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.405e-05/0.2737, allocations: 32 kB / 0.8317 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.026e-05/0.2738, allocations: 28 kB / 0.8317 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.419e-05/0.2739, allocations: 79.78 kB / 0.8318 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.274, allocations: 135.4 kB / 0.8319 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.2744, allocations: 306.9 kB / 0.8322 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2744, allocations: 0 / 0.8322 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2744, allocations: 0 / 0.8322 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2744, allocations: 0 / 0.8322 GB, free: 11.93 MB / 0.6544 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.001273/0.2757, allocations: 0.6275 MB / 0.8328 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.2757, allocations: 8.031 kB / 0.8328 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.792e-05/0.2758, allocations: 36.56 kB / 0.8328 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.276, allocations: 204.8 kB / 0.833 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002384/0.2762, allocations: 264.3 kB / 0.8333 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.313e-05/0.2763, allocations: 28.28 kB / 0.8333 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.2768, allocations: 261.9 kB / 0.8336 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.2768, allocations: 3.984 kB / 0.8336 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.2769, allocations: 12 kB / 0.8336 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.2769, allocations: 4 kB / 0.8336 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004051/0.2773, allocations: 179.8 kB / 0.8338 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.2785, allocations: 0.7813 MB / 0.8345 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.279, allocations: 199.7 kB / 0.8347 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.2792, allocations: 134.5 kB / 0.8348 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.099e-05/0.2793, allocations: 19.97 kB / 0.8349 GB, free: 8.941 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005814/0.2799, allocations: 303.4 kB / 0.8351 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=48): time 2.284e-06/0.2799, allocations: 4 kB / 0.8351 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.0009922/0.2809, allocations: 487.9 kB / 0.8356 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.772e-05/0.281, allocations: 114.8 kB / 0.8357 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.2812, allocations: 179.4 kB / 0.8359 GB, free: 7.812 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.2812, allocations: 45.69 kB / 0.8359 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.192e-05/0.2813, allocations: 121.3 kB / 0.8361 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.2814, allocations: 150 kB / 0.8362 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.2816, allocations: 106.3 kB / 0.8363 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.2817, allocations: 338.8 kB / 0.8366 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/0.282, allocations: 145.2 kB / 0.8368 GB, free: 6.898 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/0.2823, allocations: 260.7 kB / 0.837 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006048/0.283, allocations: 394.1 kB / 0.8374 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.283, allocations: 0 / 0.8374 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000819/0.2838, allocations: 489.4 kB / 0.8379 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.2838, allocations: 4 kB / 0.8379 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.2838, allocations: 4.078 kB / 0.8379 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.2839, allocations: 4 kB / 0.8379 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.2843, allocations: 103.8 kB / 0.838 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/0.2843, allocations: 15.91 kB / 0.838 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.2846, allocations: 55.66 kB / 0.838 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.2846, allocations: 20 kB / 0.838 GB, free: 5.5 MB / 0.6544 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.0001732/0.2848, allocations: 161.6 kB / 0.8382 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.2848, allocations: 35.64 kB / 0.8382 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.685e-05/0.2849, allocations: 33.88 kB / 0.8383 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.2849, allocations: 12 kB / 0.8383 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.285, allocations: 0 / 0.8383 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.285, allocations: 3.984 kB / 0.8383 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003627/0.2853, allocations: 357.1 kB / 0.8386 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2853, allocations: 0 / 0.8386 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.2857, allocations: 75.83 kB / 0.8387 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.2857, allocations: 4 kB / 0.8387 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-05/0.2858, allocations: 15.98 kB / 0.8387 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.2858, allocations: 4 kB / 0.8387 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2858, allocations: 0 / 0.8387 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.2868, allocations: 0.5785 MB / 0.8393 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.2869, allocations: 108.7 kB / 0.8394 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.239e-05/0.287, allocations: 11.98 kB / 0.8394 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.2872, allocations: 31.97 kB / 0.8394 GB, free: 3.984 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.2874, allocations: 55.94 kB / 0.8395 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.2874, allocations: 15.98 kB / 0.8395 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001006/0.2875, allocations: 125.2 kB / 0.8396 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2875, allocations: 0 / 0.8396 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000328/0.2878, allocations: 83.92 kB / 0.8397 GB, free: 3.711 MB / 0.6544 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.0002119/0.288, allocations: 127.2 kB / 0.8398 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007364/0.2888, allocations: 382.5 kB / 0.8402 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2888, allocations: 0 / 0.8402 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003827/0.2892, allocations: 195.7 kB / 0.8404 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.2895, allocations: 43.91 kB / 0.8404 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.291, allocations: 0.5998 MB / 0.841 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.2914, allocations: 0.7762 MB / 0.8418 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001969/0.2916, allocations: 39.33 kB / 0.8418 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.2918, allocations: 39.42 kB / 0.8418 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of SimCode: time 9.22e-07/0.2918, allocations: 3.938 kB / 0.8418 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of Templates: time 0.009527/0.3013, allocations: 3.98 MB / 0.8457 GB, free: 13.5 MB / 0.67 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)