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.569/1.569, allocations: 252 MB / 267.3 MB, free: 10.84 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.001151/0.001152, allocations: 168.3 kB / 327 MB, free: 2.117 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.714/1.714, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0007353/0.0007353, allocations: 89.92 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003529, allocations: 15.73 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1971, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean): time 0.002074/0.1993, allocations: 1.747 MB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.2006, allocations: 0.6824 MB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.2009, allocations: 4 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.463e-05/0.201, allocations: 15.8 kB / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.2013, allocations: 35.7 kB / 0.9034 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006336/0.2019, allocations: 127.8 kB / 0.9035 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.2024, allocations: 315.1 kB / 0.9038 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.2026, allocations: 40.39 kB / 0.9038 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004092/0.2031, allocations: 103.7 kB / 0.9039 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.2033, allocations: 135.4 kB / 0.9041 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.802e-05/0.2034, allocations: 16 kB / 0.9041 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.655e-05/0.2035, allocations: 12 kB / 0.9041 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.153e-05/0.2035, allocations: 67.78 kB / 0.9041 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.2037, allocations: 145.1 kB / 0.9043 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003516/0.2041, allocations: 283.2 kB / 0.9046 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.2041, allocations: 0 / 0.9046 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.785e-06/0.2041, allocations: 4 kB / 0.9046 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.723e-05/0.2042, allocations: 0 / 0.9046 GB, free: 59.64 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.00164/0.2058, allocations: 0.6043 MB / 0.9051 GB, free: 59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 9.898e-05/0.2059, allocations: 16.02 kB / 0.9052 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002001/0.2061, allocations: 54.73 kB / 0.9052 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.2063, allocations: 36.56 kB / 0.9052 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.2066, allocations: 200.8 kB / 0.9054 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000239/0.2069, allocations: 260.3 kB / 0.9057 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.914e-05/0.2069, allocations: 32.31 kB / 0.9057 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005809/0.2075, allocations: 273.7 kB / 0.906 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/0.2076, allocations: 0 / 0.906 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.2077, allocations: 8 kB / 0.906 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.2077, allocations: 4 kB / 0.906 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005449/0.2083, allocations: 199.8 kB / 0.9062 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.2097, allocations: 0.7815 MB / 0.9069 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004687/0.2102, allocations: 203.7 kB / 0.9071 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.2104, allocations: 142.5 kB / 0.9073 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.604e-05/0.2105, allocations: 20.34 kB / 0.9073 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005289/0.211, allocations: 311.3 kB / 0.9076 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 2.404e-06/0.211, allocations: 3.938 kB / 0.9076 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.0009761/0.212, allocations: 0.4923 MB / 0.9081 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.2121, allocations: 114.8 kB / 0.9082 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.2122, allocations: 175.4 kB / 0.9084 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.2122, allocations: 45.69 kB / 0.9084 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.2123, allocations: 121.3 kB / 0.9085 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.169e-05/0.2124, allocations: 146 kB / 0.9087 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.2124, allocations: 8 kB / 0.9087 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.2125, allocations: 346.8 kB / 0.909 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.2128, allocations: 149.2 kB / 0.9091 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.2131, allocations: 268.6 kB / 0.9094 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000553/0.2137, allocations: 402.1 kB / 0.9098 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2137, allocations: 0 / 0.9098 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0007523/0.2144, allocations: 0.4969 MB / 0.9103 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.2145, allocations: 10.97 kB / 0.9103 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.2145, allocations: 4 kB / 0.9103 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.2145, allocations: 4 kB / 0.9103 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.2149, allocations: 99.81 kB / 0.9104 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.2149, allocations: 11.94 kB / 0.9104 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.2152, allocations: 67.66 kB / 0.9104 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.2153, allocations: 20 kB / 0.9105 GB, free: 53.17 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001463/0.2154, allocations: 168 kB / 0.9106 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.2155, allocations: 35.56 kB / 0.9107 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.934e-05/0.2155, allocations: 29.88 kB / 0.9107 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.2155, allocations: 8 kB / 0.9107 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.2155, allocations: 64 / 0.9107 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.2156, allocations: 7.984 kB / 0.9107 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.2158, allocations: 353.2 kB / 0.911 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2158, allocations: 3.938 kB / 0.911 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/0.2162, allocations: 79.89 kB / 0.9111 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.2163, allocations: 8 kB / 0.9111 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.2163, allocations: 8 kB / 0.9111 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2163, allocations: 3.938 kB / 0.9111 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2163, allocations: 7.938 kB / 0.9111 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000957/0.2173, allocations: 0.6018 MB / 0.9117 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.2173, allocations: 104.7 kB / 0.9118 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.2174, allocations: 11.98 kB / 0.9118 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002725/0.2177, allocations: 47.97 kB / 0.9119 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.2178, allocations: 55.92 kB / 0.9119 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.2178, allocations: 15.98 kB / 0.912 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.917e-05/0.2179, allocations: 125.2 kB / 0.9121 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2179, allocations: 4 kB / 0.9121 GB, free: 51.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004451/0.2184, allocations: 72 kB / 0.9122 GB, free: 51.34 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 (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.00119/0.2196, allocations: 1.164 MB / 0.9133 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006261/0.2202, allocations: 396.6 kB / 0.9137 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2202, allocations: 3.938 kB / 0.9137 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.2206, allocations: 212.9 kB / 0.9139 GB, free: 49.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.2209, allocations: 45.8 kB / 0.9139 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005165/0.2261, allocations: 3.279 MB / 0.9171 GB, free: 46.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.2264, allocations: 0.7686 MB / 0.9179 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002833/0.2267, allocations: 43.08 kB / 0.9179 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.2269, allocations: 91.41 kB / 0.918 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of SimCode: time 9.12e-07/0.2269, allocations: 0 / 0.918 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.2476, allocations: 5.801 MB / 0.9237 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/0.2479, allocations: 234.5 kB / 0.9239 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/2.335, allocations: 0 / 0.9239 GB, free: 39.26 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)