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.00117/0.00117, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 195.9 kB / 16.53 MB, free: 6.664 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.703/1.703, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.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.807/1.807, allocations: 292.3 MB / 0.5488 GB, free: 12.85 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.002904/0.002904, allocations: 76.77 kB / 0.6715 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3369, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.003613/0.3405, allocations: 1.952 MB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.3422, allocations: 0.6953 MB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.997e-05/0.3423, allocations: 0 / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.085e-05/0.3424, allocations: 19.73 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.3426, allocations: 47.52 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.3431, allocations: 155.7 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00036/0.3434, allocations: 319.2 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.3437, allocations: 48.36 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.3439, allocations: 127.7 kB / 0.7867 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.3441, allocations: 155.3 kB / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.78e-05/0.3442, allocations: 28 kB / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.024e-05/0.3443, allocations: 32 kB / 0.7869 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.3444, allocations: 79.78 kB / 0.7869 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.3445, allocations: 127.4 kB / 0.7871 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.3449, allocations: 303.3 kB / 0.7874 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3449, allocations: 0 / 0.7874 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3449, allocations: 0 / 0.7874 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.3449, allocations: 0 / 0.7874 GB, free: 9.395 MB / 0.6075 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.00126/0.3462, allocations: 0.6275 MB / 0.788 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3462, allocations: 15.97 kB / 0.788 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.138e-05/0.3463, allocations: 28.66 kB / 0.788 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.3465, allocations: 204.7 kB / 0.7882 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.3467, allocations: 268.3 kB / 0.7885 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.622e-05/0.3468, allocations: 24.38 kB / 0.7885 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.3473, allocations: 265.9 kB / 0.7887 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.3473, allocations: 11.84 kB / 0.7887 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.3474, allocations: 11.98 kB / 0.7888 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.3474, allocations: 4 kB / 0.7888 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.3478, allocations: 176.5 kB / 0.7889 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.3489, allocations: 0.7776 MB / 0.7897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005015/0.3494, allocations: 203.7 kB / 0.7899 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.3497, allocations: 130.5 kB / 0.79 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.586e-05/0.3498, allocations: 15.92 kB / 0.79 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006091/0.3504, allocations: 311.6 kB / 0.7903 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=48): time 1.963e-06/0.3504, allocations: 0 / 0.7903 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.001055/0.3514, allocations: 484.6 kB / 0.7908 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.873e-05/0.3515, allocations: 122.8 kB / 0.7909 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.3518, allocations: 172.6 kB / 0.7911 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.3518, allocations: 37.7 kB / 0.7911 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.553e-05/0.3519, allocations: 125.2 kB / 0.7912 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.3521, allocations: 138 kB / 0.7914 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.3523, allocations: 110.3 kB / 0.7915 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3524, allocations: 342.8 kB / 0.7918 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.3527, allocations: 145.2 kB / 0.7919 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000365/0.3531, allocations: 252.8 kB / 0.7922 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007013/0.3538, allocations: 402 kB / 0.7925 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.3538, allocations: 4 kB / 0.7926 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008838/0.3547, allocations: 485.5 kB / 0.793 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.3548, allocations: 11.94 kB / 0.793 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.3548, allocations: 4 kB / 0.793 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.3548, allocations: 8 kB / 0.793 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/0.3552, allocations: 95.81 kB / 0.7931 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/0.3553, allocations: 16.08 kB / 0.7931 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.3555, allocations: 63.5 kB / 0.7932 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.3556, allocations: 20 kB / 0.7932 GB, free: 2.965 MB / 0.6075 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.0001944/0.3558, allocations: 164 kB / 0.7934 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.3558, allocations: 27.66 kB / 0.7934 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.601e-05/0.3559, allocations: 33.81 kB / 0.7934 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.886e-06/0.3559, allocations: 8 kB / 0.7934 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.356, allocations: 0 / 0.7934 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.356, allocations: 3.984 kB / 0.7934 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/0.3565, allocations: 349.3 kB / 0.7938 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3565, allocations: 4 kB / 0.7938 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.3569, allocations: 79.83 kB / 0.7939 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.357, allocations: 8 kB / 0.7939 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.357, allocations: 12 kB / 0.7939 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.357, allocations: 4 kB / 0.7939 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.357, allocations: 0 / 0.7939 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.3582, allocations: 0.5784 MB / 0.7944 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.637e-05/0.3582, allocations: 112.6 kB / 0.7946 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.3583, allocations: 12 kB / 0.7946 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.3585, allocations: 27.97 kB / 0.7946 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.3587, allocations: 59.92 kB / 0.7947 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.3587, allocations: 16 kB / 0.7947 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001167/0.3589, allocations: 133.1 kB / 0.7948 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3589, allocations: 0 / 0.7948 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003716/0.3592, allocations: 79.91 kB / 0.7949 GB, free: 1.172 MB / 0.6075 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.0002111/0.3595, allocations: 119.2 kB / 0.795 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008533/0.3603, allocations: 406.5 kB / 0.7954 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3603, allocations: 4 kB / 0.7954 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000385/0.3607, allocations: 208.6 kB / 0.7956 GB, free: 452 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.3611, allocations: 50.09 kB / 0.7956 GB, free: 408 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.3623, allocations: 0.607 MB / 0.7962 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.3627, allocations: 0.7686 MB / 0.797 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001748/0.3629, allocations: 34.97 kB / 0.797 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.363, allocations: 39.61 kB / 0.797 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of SimCode: time 7.21e-07/0.363, allocations: 0 / 0.797 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of Templates: time 0.008704/0.3717, allocations: 4.027 MB / 0.801 GB, free: 10.89 MB / 0.6231 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)