Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.711/1.711, allocations: 288.2 MB / 303.2 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001317/0.001317, allocations: 177.2 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.4 MB / 0.6305 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 105.8 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005012/0.0005022, allocations: 13.69 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2652, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.002084/0.2674, allocations: 1.603 MB / 0.9811 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.2686, allocations: 0.6634 MB / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.2689, allocations: 0 / 0.9817 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.869e-05/0.269, allocations: 11.86 kB / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.2692, allocations: 43.84 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005835/0.2698, allocations: 115.8 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.2702, allocations: 191.6 kB / 0.9821 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.2705, allocations: 44.36 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.2708, allocations: 107.6 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.2711, allocations: 135.5 kB / 0.9823 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.542e-05/0.2711, allocations: 16 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.773e-05/0.2712, allocations: 16 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.2713, allocations: 63.78 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.504e-05/0.2714, allocations: 61.58 kB / 0.9825 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.2716, allocations: 211.7 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2716, allocations: 0 / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2716, allocations: 0 / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.2716, allocations: 0 / 0.9827 GB, free: 24.3 MB / 0.6198 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.001234/0.2729, allocations: 0.6116 MB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.2729, allocations: 8.031 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/0.2731, allocations: 62.55 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.315e-05/0.2731, allocations: 27.72 kB / 0.9834 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.2733, allocations: 199.5 kB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.2735, allocations: 263.8 kB / 0.9838 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.2735, allocations: 31.91 kB / 0.9838 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.2741, allocations: 261.7 kB / 0.9841 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.2741, allocations: 8 kB / 0.9841 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.2741, allocations: 7.984 kB / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.2742, allocations: 8 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004211/0.2746, allocations: 183.8 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.2758, allocations: 0.7817 MB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000439/0.2762, allocations: 208.5 kB / 0.9853 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.587e-05/0.2763, allocations: 16.16 kB / 0.9853 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004843/0.2768, allocations: 323.7 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 2.435e-06/0.2768, allocations: 0 / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.000916/0.2777, allocations: 0.4963 MB / 0.9861 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.2778, allocations: 110.8 kB / 0.9862 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.2779, allocations: 179.4 kB / 0.9863 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.2779, allocations: 37.7 kB / 0.9864 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.413e-05/0.278, allocations: 129.2 kB / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.2781, allocations: 146 kB / 0.9866 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.2782, allocations: 12 kB / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.184e-05/0.2783, allocations: 342.8 kB / 0.987 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.2785, allocations: 149.2 kB / 0.9871 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.2789, allocations: 260.8 kB / 0.9874 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.2792, allocations: 167.9 kB / 0.9875 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.2792, allocations: 0 / 0.9875 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007571/0.2799, allocations: 497.5 kB / 0.988 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.28, allocations: 7.953 kB / 0.988 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.28, allocations: 11.98 kB / 0.988 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.28, allocations: 8 kB / 0.988 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.2804, allocations: 95.83 kB / 0.9881 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.2804, allocations: 4 kB / 0.9881 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.2807, allocations: 75.59 kB / 0.9882 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.2808, allocations: 16 kB / 0.9882 GB, free: 18.26 MB / 0.6198 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.0001667/0.2809, allocations: 164 kB / 0.9884 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.874e-05/0.281, allocations: 23.72 kB / 0.9884 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.365e-05/0.2811, allocations: 33.83 kB / 0.9884 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.2811, allocations: 7.984 kB / 0.9884 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.2811, allocations: 4 kB / 0.9884 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.2811, allocations: 0 / 0.9884 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.2815, allocations: 361.2 kB / 0.9888 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-06/0.2815, allocations: 4 kB / 0.9888 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.2819, allocations: 79.89 kB / 0.9889 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.2819, allocations: 3.938 kB / 0.9889 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/0.2819, allocations: 8 kB / 0.9889 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.2819, allocations: 7.953 kB / 0.9889 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.2819, allocations: 4.078 kB / 0.9889 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.283, allocations: 0.6208 MB / 0.9895 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/0.2831, allocations: 108.6 kB / 0.9896 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.2832, allocations: 12 kB / 0.9896 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.2834, allocations: 43.95 kB / 0.9896 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.2835, allocations: 43.98 kB / 0.9897 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.2836, allocations: 15.98 kB / 0.9897 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.987e-05/0.2837, allocations: 125.2 kB / 0.9898 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2837, allocations: 192 / 0.9898 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003519/0.284, allocations: 80 kB / 0.9899 GB, free: 16.42 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001346/0.2854, allocations: 1.335 MB / 0.9912 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007034/0.2861, allocations: 390.8 kB / 0.9916 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2861, allocations: 0 / 0.9916 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003102/0.2864, allocations: 183.7 kB / 0.9918 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.2867, allocations: 36.17 kB / 0.9918 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.2886, allocations: 2.686 MB / 0.9944 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.2888, allocations: 0.7725 MB / 0.9952 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001813/0.289, allocations: 34.97 kB / 0.9952 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.2892, allocations: 95.39 kB / 0.9953 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of SimCode: time 6.91e-07/0.2892, allocations: 0 / 0.9953 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.3062, allocations: 5.435 MB / 1.001 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/0.3064, allocations: 235.3 kB / 1.001 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.273, allocations: 6.688 kB / 1.001 GB, free: 5.25 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)