Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001851/0.001851, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.636/1.636, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.026/2.026, allocations: 292.3 MB / 0.5496 GB, free: 17.64 MB / 462.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.001583/0.001583, allocations: 78.06 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2615, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.004292/0.2659, allocations: 1.964 MB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.2672, allocations: 0.6904 MB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.2674, allocations: 4 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.148e-05/0.2675, allocations: 23.67 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.2677, allocations: 39.58 kB / 0.7875 GB, free: 400 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006491/0.2684, allocations: 151.7 kB / 0.7876 GB, free: 248 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.6138/0.8822, allocations: 319.3 kB / 0.7879 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000344/0.8826, allocations: 44.2 kB / 0.788 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005061/0.8831, allocations: 136.5 kB / 0.7881 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.8834, allocations: 151.5 kB / 0.7882 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.039e-05/0.8834, allocations: 29.06 kB / 0.7883 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.066e-05/0.8835, allocations: 28.88 kB / 0.7883 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.622e-05/0.8836, allocations: 79.86 kB / 0.7884 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.8838, allocations: 130.1 kB / 0.7885 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.8842, allocations: 310.9 kB / 0.7888 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.8842, allocations: 0 / 0.7888 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.126e-06/0.8842, allocations: 0 / 0.7888 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.741e-05/0.8843, allocations: 1.844 kB / 0.7888 GB, free: 46.43 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.001302/0.8856, allocations: 0.6246 MB / 0.7894 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.8856, allocations: 8.875 kB / 0.7894 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.95e-05/0.8857, allocations: 28.91 kB / 0.7894 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.8858, allocations: 207.5 kB / 0.7896 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.886, allocations: 263.1 kB / 0.7899 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.8861, allocations: 34.33 kB / 0.7899 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.8866, allocations: 259.3 kB / 0.7902 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.8866, allocations: 11.41 kB / 0.7902 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.8866, allocations: 7.703 kB / 0.7902 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.8867, allocations: 5.406 kB / 0.7902 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/0.8871, allocations: 178.1 kB / 0.7904 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.8882, allocations: 0.7776 MB / 0.7911 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.8887, allocations: 207.5 kB / 0.7913 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.8889, allocations: 129 kB / 0.7914 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.889, allocations: 13.69 kB / 0.7914 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005831/0.8896, allocations: 314.8 kB / 0.7917 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=48): time 1.763e-06/0.8896, allocations: 0 / 0.7917 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.0009425/0.8906, allocations: 481.1 kB / 0.7922 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.8906, allocations: 120.4 kB / 0.7923 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.8907, allocations: 170.3 kB / 0.7925 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.8908, allocations: 43.14 kB / 0.7925 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.8909, allocations: 122.1 kB / 0.7926 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.377e-05/0.891, allocations: 148.2 kB / 0.7928 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.8911, allocations: 110.1 kB / 0.7929 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.643e-05/0.8912, allocations: 337 kB / 0.7932 GB, free: 44 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.8915, allocations: 153.6 kB / 0.7934 GB, free: 44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.8918, allocations: 259.8 kB / 0.7936 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005362/0.8923, allocations: 390.3 kB / 0.794 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.8923, allocations: 0 / 0.794 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000751/0.8931, allocations: 493.1 kB / 0.7944 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.8931, allocations: 10.91 kB / 0.7945 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.8931, allocations: 3.438 kB / 0.7945 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.8932, allocations: 3.469 kB / 0.7945 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.8935, allocations: 101.1 kB / 0.7946 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.8936, allocations: 7.281 kB / 0.7946 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.8938, allocations: 57.59 kB / 0.7946 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.8939, allocations: 23.88 kB / 0.7946 GB, free: 43.73 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.0001607/0.8941, allocations: 160.8 kB / 0.7948 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.8941, allocations: 26.09 kB / 0.7948 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.188e-05/0.8942, allocations: 34.83 kB / 0.7949 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.8942, allocations: 0 / 0.7949 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.8942, allocations: 8.719 kB / 0.7949 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.8942, allocations: 106.9 kB / 0.795 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.8943, allocations: 13.38 kB / 0.795 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.8945, allocations: 33.08 kB / 0.795 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.8946, allocations: 53.33 kB / 0.7951 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000999/0.8957, allocations: 0.6653 MB / 0.7957 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009994/0.8967, allocations: 0.8745 MB / 0.7966 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003078/0.897, allocations: 181.4 kB / 0.7967 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.791e-05/0.8971, allocations: 126.7 kB / 0.7969 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of Backend: time 5.82e-07/0.8971, allocations: 0 / 0.7969 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009076/0.898, allocations: 357.7 kB / 0.7972 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0008491/0.8988, allocations: 0.9924 MB / 0.7982 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of Templates: time 0.01074/0.9096, allocations: 4.989 MB / 0.803 GB, free: 41.78 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)