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.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,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean",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.937/1.937, allocations: 288.2 MB / 303.2 MB, free: 8.125 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.001138/0.001138, allocations: 175 kB / 371.8 MB, free: 10.26 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.877/1.877, allocations: 205.4 MB / 0.6305 GB, free: 9.934 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.001192/0.001193, allocations: 94.86 kB / 0.7439 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004606, allocations: 14.72 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2683, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002257/0.2706, allocations: 1.607 MB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.2718, allocations: 0.6635 MB / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.272, allocations: 0 / 0.9817 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.04e-05/0.272, allocations: 15.8 kB / 0.9817 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.2722, allocations: 43.91 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.2727, allocations: 119.7 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.2731, allocations: 191.6 kB / 0.9821 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.2732, allocations: 40.39 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.2735, allocations: 107.7 kB / 0.9822 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.2737, allocations: 135.5 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.2738, allocations: 12 kB / 0.9823 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.535e-05/0.2738, allocations: 16 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.512e-05/0.2739, allocations: 59.8 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.349e-05/0.274, allocations: 61.58 kB / 0.9825 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.2742, allocations: 211.7 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2742, allocations: 3.938 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2742, allocations: 4 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.2742, allocations: 0 / 0.9827 GB, free: 24.29 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.001137/0.2753, allocations: 0.6155 MB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.2754, allocations: 12.02 kB / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.971e-05/0.2755, allocations: 62.55 kB / 0.9834 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.578e-05/0.2756, allocations: 27.72 kB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.2757, allocations: 199.5 kB / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.2759, allocations: 263.8 kB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.91e-05/0.276, allocations: 31.91 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.2765, allocations: 257.8 kB / 0.9841 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.2765, allocations: 11.94 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.2765, allocations: 7.984 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.2765, allocations: 8 kB / 0.9841 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003922/0.2769, allocations: 183.9 kB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.278, allocations: 0.7856 MB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.2785, allocations: 213.3 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/0.2785, allocations: 8.188 kB / 0.9853 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005422/0.2791, allocations: 319.6 kB / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=48): time 2.725e-06/0.2791, allocations: 0 / 0.9856 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.001053/0.2801, allocations: 0.4955 MB / 0.9861 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.2802, allocations: 114.8 kB / 0.9862 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.2804, allocations: 179.4 kB / 0.9863 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/0.2805, allocations: 41.7 kB / 0.9864 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.814e-05/0.2806, allocations: 117.2 kB / 0.9865 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.2807, allocations: 153.9 kB / 0.9866 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.2807, allocations: 12 kB / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.2808, allocations: 338.8 kB / 0.987 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.2811, allocations: 149.2 kB / 0.9871 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.2815, allocations: 260.7 kB / 0.9874 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.2819, allocations: 164 kB / 0.9875 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.2819, allocations: 3.984 kB / 0.9875 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008096/0.2828, allocations: 497.2 kB / 0.988 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.2828, allocations: 7.953 kB / 0.988 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2828, allocations: 4 kB / 0.988 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.2828, allocations: 11.98 kB / 0.988 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.2832, allocations: 95.83 kB / 0.9881 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.2832, allocations: 7.938 kB / 0.9881 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.2835, allocations: 75.59 kB / 0.9882 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.2836, allocations: 16 kB / 0.9882 GB, free: 18.24 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.0001484/0.2837, allocations: 167.9 kB / 0.9884 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.2838, allocations: 27.72 kB / 0.9884 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.738e-05/0.2838, allocations: 33.83 kB / 0.9884 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2839, allocations: 4.094 kB / 0.9884 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.2839, allocations: 7.984 kB / 0.9884 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2839, allocations: 3.984 kB / 0.9884 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.2842, allocations: 357.2 kB / 0.9888 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2842, allocations: 0 / 0.9888 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.2846, allocations: 83.95 kB / 0.9889 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.2846, allocations: 0 / 0.9889 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.2846, allocations: 12 kB / 0.9889 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.2846, allocations: 7.953 kB / 0.9889 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2847, allocations: 0 / 0.9889 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.2857, allocations: 0.6171 MB / 0.9895 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.2858, allocations: 112.6 kB / 0.9896 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.109e-05/0.2858, allocations: 12 kB / 0.9896 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.2861, allocations: 39.97 kB / 0.9896 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.2862, allocations: 43.94 kB / 0.9897 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.2862, allocations: 15.98 kB / 0.9897 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.755e-05/0.2863, allocations: 129.2 kB / 0.9898 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2863, allocations: 0 / 0.9898 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003488/0.2867, allocations: 80 kB / 0.9899 GB, free: 16.39 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.001217/0.2879, allocations: 1.323 MB / 0.9912 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006723/0.2886, allocations: 392.3 kB / 0.9916 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2886, allocations: 4 kB / 0.9916 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.2889, allocations: 187.8 kB / 0.9918 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.2892, allocations: 33.92 kB / 0.9918 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.291, allocations: 2.686 MB / 0.9944 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.2913, allocations: 0.7763 MB / 0.9952 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001712/0.2914, allocations: 34.97 kB / 0.9952 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001584/0.2916, allocations: 91.39 kB / 0.9953 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of SimCode: time 1.002e-06/0.2916, allocations: 4 kB / 0.9953 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.31, allocations: 5.444 MB / 1.001 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001783/0.3102, allocations: 199.8 kB / 1.001 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/2.283, allocations: 0 / 1.001 GB, free: 5.223 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)