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.476/1.476, allocations: 252 MB / 267 MB, free: 10.97 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.001097/0.001097, allocations: 188.2 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.4 MB / 0.5776 GB, free: 20.59 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.0007756/0.0007756, allocations: 87.59 kB / 0.6822 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003406, allocations: 22.8 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2193, allocations: 106.3 MB / 0.9003 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002187/0.2215, allocations: 1.689 MB / 0.902 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2226, allocations: 0.667 MB / 0.9026 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.2228, allocations: 0 / 0.9026 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.534e-05/0.2228, allocations: 11.86 kB / 0.9026 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.223, allocations: 31.7 kB / 0.9027 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.2234, allocations: 123.8 kB / 0.9028 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.2237, allocations: 291.1 kB / 0.9031 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.2238, allocations: 44.3 kB / 0.9031 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002255/0.2241, allocations: 107.7 kB / 0.9032 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.2243, allocations: 131.5 kB / 0.9033 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.589e-05/0.2243, allocations: 12 kB / 0.9033 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.967e-05/0.2244, allocations: 16 kB / 0.9034 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.102e-05/0.2244, allocations: 63.78 kB / 0.9034 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.277e-05/0.2245, allocations: 65.58 kB / 0.9035 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.2247, allocations: 207.7 kB / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2247, allocations: 0 / 0.9037 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.205e-06/0.2248, allocations: 4 kB / 0.9037 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.2248, allocations: 0 / 0.9037 GB, free: 60.67 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.001119/0.2259, allocations: 0.608 MB / 0.9043 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.2259, allocations: 8.031 kB / 0.9043 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.766e-05/0.226, allocations: 62.53 kB / 0.9043 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.573e-05/0.2261, allocations: 35.58 kB / 0.9044 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.2262, allocations: 187.6 kB / 0.9046 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.2264, allocations: 275.7 kB / 0.9048 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.96e-05/0.2265, allocations: 24 kB / 0.9048 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.2269, allocations: 265.8 kB / 0.9051 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.2269, allocations: 0 / 0.9051 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.227, allocations: 8 kB / 0.9051 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.227, allocations: 4 kB / 0.9051 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003813/0.2274, allocations: 191.8 kB / 0.9053 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009128/0.2283, allocations: 0.7816 MB / 0.9061 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004169/0.2287, allocations: 220.2 kB / 0.9063 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.2289, allocations: 132.2 kB / 0.9064 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.229, allocations: 24.09 kB / 0.9064 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004861/0.2295, allocations: 303.5 kB / 0.9067 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 3.296e-06/0.2295, allocations: 224 / 0.9067 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.000901/0.2304, allocations: 0.5038 MB / 0.9072 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.2305, allocations: 118.8 kB / 0.9073 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.2306, allocations: 175.4 kB / 0.9075 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.2306, allocations: 41.7 kB / 0.9075 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.2307, allocations: 121.2 kB / 0.9076 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.449e-05/0.2308, allocations: 146 kB / 0.9078 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.2308, allocations: 12 kB / 0.9078 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.366e-05/0.2309, allocations: 334.8 kB / 0.9081 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.2312, allocations: 157.2 kB / 0.9083 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.2315, allocations: 260.8 kB / 0.9085 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.2317, allocations: 175.9 kB / 0.9087 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2318, allocations: 0 / 0.9087 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000705/0.2325, allocations: 0.4897 MB / 0.9091 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2325, allocations: 4 kB / 0.9092 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.2325, allocations: 4 kB / 0.9092 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.2325, allocations: 8 kB / 0.9092 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.2329, allocations: 99.83 kB / 0.9093 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.2329, allocations: 7.938 kB / 0.9093 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.2332, allocations: 67.66 kB / 0.9093 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.2333, allocations: 24.06 kB / 0.9094 GB, free: 54.48 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.0001408/0.2334, allocations: 164 kB / 0.9095 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.2334, allocations: 31.58 kB / 0.9095 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.666e-05/0.2335, allocations: 33.86 kB / 0.9096 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2335, allocations: 4 kB / 0.9096 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.2335, allocations: 7.938 kB / 0.9096 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2335, allocations: 0 / 0.9096 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.2338, allocations: 353.2 kB / 0.9099 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2338, allocations: 64 / 0.9099 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.2342, allocations: 87.89 kB / 0.91 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2342, allocations: 3.953 kB / 0.91 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.2343, allocations: 15.98 kB / 0.91 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2343, allocations: 7.984 kB / 0.91 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2343, allocations: 0 / 0.91 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008811/0.2352, allocations: 0.5939 MB / 0.9106 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.2352, allocations: 104.8 kB / 0.9107 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.2353, allocations: 15.95 kB / 0.9107 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.2355, allocations: 43.95 kB / 0.9108 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.826e-05/0.2356, allocations: 36.05 kB / 0.9108 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.2356, allocations: 19.98 kB / 0.9108 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.74e-05/0.2357, allocations: 124.1 kB / 0.9109 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2357, allocations: 0 / 0.9109 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002911/0.236, allocations: 80 kB / 0.911 GB, free: 52.68 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.001118/0.2371, allocations: 1.155 MB / 0.9121 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006409/0.2378, allocations: 394.7 kB / 0.9125 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2378, allocations: 0 / 0.9125 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.2381, allocations: 188.7 kB / 0.9127 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.2384, allocations: 41.25 kB / 0.9127 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.2409, allocations: 1.872 MB / 0.9146 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/0.241, allocations: 0.7608 MB / 0.9153 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001694/0.2412, allocations: 42.95 kB / 0.9154 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.2414, allocations: 83.41 kB / 0.9154 GB, free: 48.01 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/0.2414, allocations: 0 / 0.9154 GB, free: 48.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.2588, allocations: 5.565 MB / 0.9209 GB, free: 42.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/0.259, allocations: 213.2 kB / 0.9211 GB, free: 42.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/2.344, allocations: 0 / 0.9211 GB, free: 42.4 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)