Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 183.2 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009985/0.0009986, allocations: 102.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003774, allocations: 11.81 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.274, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.00217/0.2762, allocations: 1.659 MB / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009317/0.2772, allocations: 0.6632 MB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.403e-05/0.2773, allocations: 7.938 kB / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.2773, allocations: 11.86 kB / 0.9025 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.2775, allocations: 51.83 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.2779, allocations: 111.9 kB / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.2781, allocations: 191.6 kB / 0.9028 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.2783, allocations: 40.39 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.2785, allocations: 111.6 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.2786, allocations: 131.5 kB / 0.9031 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.165e-05/0.2787, allocations: 12 kB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.266e-05/0.2787, allocations: 16 kB / 0.9031 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.612e-05/0.2788, allocations: 55.8 kB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.2788, allocations: 69.58 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.279, allocations: 203.7 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.279, allocations: 0 / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2791, allocations: 4 kB / 0.9034 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.2791, allocations: 4 kB / 0.9034 GB, free: 60.49 MB / 0.6042 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.001103/0.2802, allocations: 0.6042 MB / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.2802, allocations: 8.031 kB / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.404e-05/0.2803, allocations: 62.53 kB / 0.9041 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.2804, allocations: 35.58 kB / 0.9041 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.2805, allocations: 195.6 kB / 0.9043 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.2807, allocations: 259.8 kB / 0.9045 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.2807, allocations: 32 kB / 0.9046 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.2812, allocations: 261.7 kB / 0.9048 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.2812, allocations: 7.984 kB / 0.9048 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.2812, allocations: 8 kB / 0.9048 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.2813, allocations: 8 kB / 0.9048 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/0.2816, allocations: 187.8 kB / 0.905 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009019/0.2826, allocations: 0.7894 MB / 0.9058 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.283, allocations: 216.4 kB / 0.906 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.283, allocations: 8.188 kB / 0.906 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004828/0.2835, allocations: 315.6 kB / 0.9063 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 1.643e-06/0.2835, allocations: 224 / 0.9063 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.0008725/0.2844, allocations: 0.4999 MB / 0.9068 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.2845, allocations: 118.8 kB / 0.9069 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.2846, allocations: 183.4 kB / 0.9071 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.2846, allocations: 37.7 kB / 0.9071 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.2847, allocations: 117.3 kB / 0.9072 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.107e-05/0.2848, allocations: 150 kB / 0.9074 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/0.2848, allocations: 8 kB / 0.9074 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.643e-05/0.2849, allocations: 346.7 kB / 0.9077 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.2852, allocations: 157.2 kB / 0.9079 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.2855, allocations: 248.8 kB / 0.9081 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.2857, allocations: 171.9 kB / 0.9083 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2857, allocations: 0 / 0.9083 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006741/0.2864, allocations: 0.4895 MB / 0.9087 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.2864, allocations: 8 kB / 0.9087 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2865, allocations: 0 / 0.9087 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.2865, allocations: 8 kB / 0.9088 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.2868, allocations: 99.83 kB / 0.9089 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.2868, allocations: 7.984 kB / 0.9089 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.2871, allocations: 71.66 kB / 0.9089 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.2871, allocations: 20 kB / 0.9089 GB, free: 54.45 MB / 0.6042 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.0001434/0.2873, allocations: 165.4 kB / 0.9091 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.2873, allocations: 39.55 kB / 0.9091 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.67e-05/0.2874, allocations: 29.88 kB / 0.9092 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2874, allocations: 4 kB / 0.9092 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.2874, allocations: 7.938 kB / 0.9092 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.2875, allocations: 3.984 kB / 0.9092 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.2878, allocations: 349.2 kB / 0.9095 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2878, allocations: 0 / 0.9095 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/0.2881, allocations: 75.89 kB / 0.9096 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2881, allocations: 4 kB / 0.9096 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.2882, allocations: 23.94 kB / 0.9096 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.2882, allocations: 3.938 kB / 0.9096 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2882, allocations: 0 / 0.9096 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008899/0.2891, allocations: 0.6208 MB / 0.9102 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.2891, allocations: 100.8 kB / 0.9103 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.2892, allocations: 24.05 kB / 0.9103 GB, free: 52.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.2894, allocations: 39.97 kB / 0.9104 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.408e-05/0.2895, allocations: 43.97 kB / 0.9104 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.2896, allocations: 12 kB / 0.9104 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.471e-05/0.2896, allocations: 128.1 kB / 0.9106 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2896, allocations: 0 / 0.9106 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002997/0.2899, allocations: 76 kB / 0.9106 GB, free: 52.61 MB / 0.6042 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.001146/0.2911, allocations: 1.326 MB / 0.9119 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006805/0.2918, allocations: 386.7 kB / 0.9123 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2918, allocations: 4 kB / 0.9123 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.2921, allocations: 184.6 kB / 0.9125 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.2924, allocations: 33.47 kB / 0.9125 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.2939, allocations: 2.696 MB / 0.9151 GB, free: 47.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.2941, allocations: 0.7725 MB / 0.9159 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001519/0.2943, allocations: 39.14 kB / 0.9159 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.2944, allocations: 91.41 kB / 0.916 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.2944, allocations: 0 / 0.916 GB, free: 46.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.3114, allocations: 5.434 MB / 0.9213 GB, free: 41.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.3117, allocations: 206 kB / 0.9215 GB, free: 41.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/2.399, allocations: 0 / 0.9215 GB, free: 41.44 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.pipe 2>&1)