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_nonZeroStart.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_nonZeroStart,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 252 MB / 267 MB, free: 10.98 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.001033/0.001033, allocations: 182 kB / 326.6 MB, free: 2.234 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.917/1.917, allocations: 205.4 MB / 0.5776 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.0007564/0.0007559, allocations: 90.3 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003283, allocations: 11.22 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2213, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart): time 0.001984/0.2233, allocations: 1.697 MB / 0.902 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.2243, allocations: 0.6592 MB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.2245, allocations: 0 / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.462e-05/0.2246, allocations: 15.86 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.2247, allocations: 39.69 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.2252, allocations: 123.7 kB / 0.9028 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.2254, allocations: 287.2 kB / 0.9031 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.2256, allocations: 48.31 kB / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.2258, allocations: 107.7 kB / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.226, allocations: 135.5 kB / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.191e-05/0.2261, allocations: 16 kB / 0.9034 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.417e-05/0.2262, allocations: 12 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.418e-05/0.2262, allocations: 55.81 kB / 0.9034 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.277e-05/0.2263, allocations: 65.58 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.2264, allocations: 207.7 kB / 0.9037 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2265, allocations: 4 kB / 0.9037 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2265, allocations: 0 / 0.9037 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.628e-05/0.2265, allocations: 0 / 0.9037 GB, free: 60.33 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.001136/0.2276, allocations: 0.608 MB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2277, allocations: 8.031 kB / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.134e-05/0.2278, allocations: 62.53 kB / 0.9044 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.684e-05/0.2279, allocations: 39.58 kB / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.228, allocations: 191.6 kB / 0.9046 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.2281, allocations: 267.8 kB / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.2282, allocations: 28 kB / 0.9049 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004503/0.2286, allocations: 257.8 kB / 0.9051 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.2287, allocations: 8 kB / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.2287, allocations: 4 kB / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2287, allocations: 4 kB / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.2291, allocations: 191.8 kB / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.2302, allocations: 0.7855 MB / 0.9061 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004487/0.2306, allocations: 220.2 kB / 0.9063 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.2309, allocations: 134.9 kB / 0.9064 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.325e-05/0.2309, allocations: 16.11 kB / 0.9064 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000527/0.2315, allocations: 311.5 kB / 0.9067 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=48): time 2.495e-06/0.2315, allocations: 224 / 0.9067 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.001042/0.2325, allocations: 0.496 MB / 0.9072 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.2326, allocations: 114.8 kB / 0.9073 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.2327, allocations: 179.4 kB / 0.9075 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.2328, allocations: 37.7 kB / 0.9075 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.2329, allocations: 121.3 kB / 0.9076 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.357e-05/0.233, allocations: 146 kB / 0.9078 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.233, allocations: 12 kB / 0.9078 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.2331, allocations: 346.8 kB / 0.9081 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.2334, allocations: 145.2 kB / 0.9083 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/0.2337, allocations: 264.7 kB / 0.9085 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.2341, allocations: 171.9 kB / 0.9087 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.2341, allocations: 0 / 0.9087 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008092/0.2349, allocations: 0.4891 MB / 0.9091 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.2349, allocations: 8 kB / 0.9092 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.235, allocations: 4 kB / 0.9092 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.235, allocations: 8 kB / 0.9092 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003764/0.2354, allocations: 95.83 kB / 0.9093 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.2354, allocations: 11.94 kB / 0.9093 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/0.2358, allocations: 67.66 kB / 0.9093 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.2358, allocations: 23.98 kB / 0.9094 GB, free: 54.14 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.0001849/0.236, allocations: 163.8 kB / 0.9095 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.2361, allocations: 31.58 kB / 0.9095 GB, free: 53.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.28e-05/0.2361, allocations: 33.86 kB / 0.9096 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.2362, allocations: 8 kB / 0.9096 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.2362, allocations: 3.938 kB / 0.9096 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2362, allocations: 4 kB / 0.9096 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/0.2365, allocations: 353.2 kB / 0.9099 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.2366, allocations: 0 / 0.9099 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.237, allocations: 79.89 kB / 0.91 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.237, allocations: 3.953 kB / 0.91 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-05/0.237, allocations: 15.98 kB / 0.91 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.237, allocations: 0 / 0.91 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.237, allocations: 4.703 kB / 0.91 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009683/0.238, allocations: 0.5979 MB / 0.9106 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.2381, allocations: 100.8 kB / 0.9107 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.272e-05/0.2381, allocations: 11.95 kB / 0.9107 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.2384, allocations: 51.95 kB / 0.9108 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/0.2385, allocations: 35.95 kB / 0.9108 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.2385, allocations: 16.05 kB / 0.9108 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.89e-05/0.2386, allocations: 124.1 kB / 0.9109 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2386, allocations: 0 / 0.9109 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003249/0.239, allocations: 76 kB / 0.911 GB, free: 52.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 (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.001152/0.2401, allocations: 1.169 MB / 0.9121 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006596/0.2408, allocations: 395.6 kB / 0.9125 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.2408, allocations: 0 / 0.9125 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.2411, allocations: 189.5 kB / 0.9127 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.2415, allocations: 40.5 kB / 0.9127 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.2442, allocations: 1.876 MB / 0.9146 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001883/0.2444, allocations: 0.7608 MB / 0.9153 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001801/0.2446, allocations: 38.95 kB / 0.9154 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.2447, allocations: 87.41 kB / 0.9154 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/0.2447, allocations: 4 kB / 0.9154 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02044/0.2652, allocations: 5.557 MB / 0.9209 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002737/0.2655, allocations: 218.7 kB / 0.9211 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/2.437, allocations: 0 / 0.9211 GB, free: 42.08 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart_fmu --startTime=100 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MovingMean_nonZeroStart.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.pipe 2>&1)