Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001345/0.001345, allocations: 100.3 kB / 16.27 MB, free: 5.961 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.001835/0.001835, allocations: 188.1 kB / 17.19 MB, free: 5.594 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.577/1.577, allocations: 205.1 MB / 223.1 MB, free: 12.28 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 1.856/1.856, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.001474/0.001475, allocations: 74.81 kB / 0.6722 GB, free: 6.527 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2799, allocations: 114.6 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.003714/0.2837, allocations: 1.964 MB / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.2849, allocations: 0.6982 MB / 0.7866 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.938e-05/0.285, allocations: 0 / 0.7866 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.497e-05/0.2851, allocations: 15.75 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.2852, allocations: 47.5 kB / 0.7867 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.2857, allocations: 143.8 kB / 0.7868 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.2861, allocations: 323.1 kB / 0.7871 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.2862, allocations: 48.38 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.2864, allocations: 127.7 kB / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.2867, allocations: 151.3 kB / 0.7875 GB, free: 332 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/0.2867, allocations: 28 kB / 0.7875 GB, free: 304 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.575e-05/0.2868, allocations: 32 kB / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.2868, allocations: 75.78 kB / 0.7876 GB, free: 196 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.287, allocations: 139.3 kB / 0.7877 GB, free: 56 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4869/0.774, allocations: 299.1 kB / 0.788 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.774, allocations: 0 / 0.788 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.048e-06/0.774, allocations: 0 / 0.788 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.7741, allocations: 0 / 0.788 GB, free: 46.35 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.001275/0.7753, allocations: 0.6264 MB / 0.7886 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.7754, allocations: 11.22 kB / 0.7886 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.947e-05/0.7755, allocations: 27.59 kB / 0.7887 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.7756, allocations: 203.1 kB / 0.7889 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.7758, allocations: 261 kB / 0.7891 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.7759, allocations: 38.14 kB / 0.7891 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.7763, allocations: 262.2 kB / 0.7894 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.7764, allocations: 5.047 kB / 0.7894 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.7764, allocations: 14.22 kB / 0.7894 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.7764, allocations: 5.781 kB / 0.7894 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.7768, allocations: 177.9 kB / 0.7896 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009501/0.7778, allocations: 0.7704 MB / 0.7903 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004397/0.7782, allocations: 207.8 kB / 0.7905 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.7785, allocations: 128.4 kB / 0.7907 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.355e-05/0.7785, allocations: 16.91 kB / 0.7907 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004574/0.779, allocations: 315.1 kB / 0.791 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=48): time 2.585e-06/0.779, allocations: 5.156 kB / 0.791 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.0008939/0.7799, allocations: 480 kB / 0.7914 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.78, allocations: 118.7 kB / 0.7915 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.7801, allocations: 171.6 kB / 0.7917 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.7801, allocations: 40.92 kB / 0.7917 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.554e-05/0.7802, allocations: 124.5 kB / 0.7919 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.882e-05/0.7803, allocations: 148.9 kB / 0.792 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.7804, allocations: 102.4 kB / 0.7921 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.7805, allocations: 343.7 kB / 0.7924 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.7808, allocations: 147.9 kB / 0.7926 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.7811, allocations: 257.7 kB / 0.7928 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005303/0.7816, allocations: 396.7 kB / 0.7932 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7816, allocations: 0 / 0.7932 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007084/0.7824, allocations: 494 kB / 0.7937 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.7824, allocations: 11.09 kB / 0.7937 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.7824, allocations: 4.531 kB / 0.7937 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.7824, allocations: 4.125 kB / 0.7937 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.7828, allocations: 94.44 kB / 0.7938 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.7828, allocations: 9.625 kB / 0.7938 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.7831, allocations: 61.89 kB / 0.7938 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.7831, allocations: 18.56 kB / 0.7939 GB, free: 43.68 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.0001398/0.7832, allocations: 157.5 kB / 0.794 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.7833, allocations: 32.97 kB / 0.794 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.989e-05/0.7834, allocations: 35.52 kB / 0.7941 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.7834, allocations: 11.31 kB / 0.7941 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.7834, allocations: 1.312 kB / 0.7941 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.7834, allocations: 0 / 0.7941 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.7837, allocations: 357.5 kB / 0.7944 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.7837, allocations: 0 / 0.7944 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000359/0.7841, allocations: 70.66 kB / 0.7945 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.7841, allocations: 8.688 kB / 0.7945 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.7841, allocations: 16.53 kB / 0.7945 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.7842, allocations: 2.812 kB / 0.7945 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.7842, allocations: 5.094 kB / 0.7945 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009448/0.7851, allocations: 0.5798 MB / 0.7951 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.7852, allocations: 111.1 kB / 0.7952 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.7852, allocations: 10.25 kB / 0.7952 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.7854, allocations: 38.73 kB / 0.7953 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.7855, allocations: 40.06 kB / 0.7953 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.7856, allocations: 20.39 kB / 0.7953 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.577e-05/0.7856, allocations: 121.5 kB / 0.7954 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7857, allocations: 0 / 0.7954 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000311/0.786, allocations: 89.19 kB / 0.7955 GB, free: 43.04 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.0001561/0.7861, allocations: 118.9 kB / 0.7956 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007047/0.7868, allocations: 402.2 kB / 0.796 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.7869, allocations: 4 kB / 0.796 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.7872, allocations: 187.6 kB / 0.7962 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.7875, allocations: 43.23 kB / 0.7962 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.7885, allocations: 0.6391 MB / 0.7969 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.7887, allocations: 0.7621 MB / 0.7976 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.7889, allocations: 44.03 kB / 0.7976 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.7889, allocations: 0 / 0.7976 GB, free: 41.88 MB / 0.6544 GB Notification: Performance of Templates: time 0.007631/0.7965, allocations: 3.961 MB / 0.8015 GB, free: 41.68 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)