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.448/1.448, 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.00103/0.00103, allocations: 183.3 kB / 326.5 MB, free: 2.254 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.787/1.787, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009608/0.000961, allocations: 82.61 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004423, allocations: 16.14 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2787, allocations: 106.4 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2029/0.4817, allocations: 132.5 MB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.4821, allocations: 75.95 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0246/0.5067, allocations: 8.784 MB / 1.038 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.048e-06/0.5068, allocations: 0 / 1.038 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.491e-05/0.5068, allocations: 4 kB / 1.038 GB, free: 2.285 MB / 0.6823 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.001376/0.5082, allocations: 0.6302 MB / 1.039 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.5082, allocations: 12.03 kB / 1.039 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/0.5084, allocations: 58.48 kB / 1.039 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.5085, allocations: 35.62 kB / 1.039 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.5087, allocations: 191.6 kB / 1.039 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/0.509, allocations: 275.7 kB / 1.039 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.845e-05/0.5091, allocations: 28 kB / 1.039 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.5096, allocations: 261.7 kB / 1.04 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.5097, allocations: 7.938 kB / 1.04 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.5097, allocations: 11.98 kB / 1.04 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.5097, allocations: 4 kB / 1.04 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004531/0.5102, allocations: 179.9 kB / 1.04 GB, free: 448 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.5117, allocations: 0.805 MB / 1.041 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005298/0.5122, allocations: 208.7 kB / 1.041 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.166e-05/0.5123, allocations: 16.11 kB / 1.041 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006042/0.5129, allocations: 315.5 kB / 1.041 GB, free: 14.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 2.745e-06/0.5129, allocations: 0 / 1.041 GB, free: 14.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.001091/0.514, allocations: 0.4924 MB / 1.042 GB, free: 14.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.091e-05/0.5141, allocations: 106.8 kB / 1.042 GB, free: 14.37 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.5143, allocations: 170.5 kB / 1.042 GB, free: 14.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.5144, allocations: 37.7 kB / 1.042 GB, free: 14.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.955e-05/0.5145, allocations: 117.3 kB / 1.042 GB, free: 14.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.5146, allocations: 150 kB / 1.042 GB, free: 13.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.5147, allocations: 8 kB / 1.042 GB, free: 13.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.5148, allocations: 354.8 kB / 1.043 GB, free: 13.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.5152, allocations: 149.2 kB / 1.043 GB, free: 13.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.5156, allocations: 256.7 kB / 1.043 GB, free: 13.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003448/0.5159, allocations: 167.9 kB / 1.043 GB, free: 12.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.516, allocations: 4 kB / 1.043 GB, free: 12.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008825/0.5168, allocations: 497.4 kB / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.5169, allocations: 4 kB / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.5169, allocations: 4 kB / 1.044 GB, free: 12.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.5169, allocations: 12 kB / 1.044 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.5173, allocations: 95.83 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.889e-05/0.5174, allocations: 7.938 kB / 1.044 GB, free: 12.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.5177, allocations: 75.7 kB / 1.044 GB, free: 12.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.5177, allocations: 20 kB / 1.044 GB, free: 12.21 MB / 0.698 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.0001878/0.5179, allocations: 167.9 kB / 1.044 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.301e-05/0.518, allocations: 23.72 kB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.858e-05/0.5181, allocations: 33.86 kB / 1.044 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.5181, allocations: 4 kB / 1.044 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.5181, allocations: 4 kB / 1.044 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.5181, allocations: 3.984 kB / 1.044 GB, free: 11.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004087/0.5185, allocations: 365 kB / 1.044 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.5186, allocations: 4 kB / 1.044 GB, free: 11.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/0.519, allocations: 79.83 kB / 1.044 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.519, allocations: 0 / 1.044 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/0.5191, allocations: 15.98 kB / 1.044 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.5191, allocations: 4 kB / 1.044 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5191, allocations: 0 / 1.044 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.5203, allocations: 0.6331 MB / 1.045 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.933e-05/0.5203, allocations: 100.8 kB / 1.045 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.5204, allocations: 15.98 kB / 1.045 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.5207, allocations: 39.97 kB / 1.045 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.5208, allocations: 35.95 kB / 1.045 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.5209, allocations: 23.94 kB / 1.045 GB, free: 10.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.551e-05/0.521, allocations: 120.1 kB / 1.045 GB, free: 10.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.7e-07/0.521, allocations: 0 / 1.045 GB, free: 10.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003671/0.5213, allocations: 83.98 kB / 1.045 GB, free: 10.37 MB / 0.698 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.001567/0.5229, allocations: 1.316 MB / 1.047 GB, free: 9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007586/0.5237, allocations: 398.6 kB / 1.047 GB, free: 8.613 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5237, allocations: 0 / 1.047 GB, free: 8.613 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.5241, allocations: 183.8 kB / 1.047 GB, free: 8.434 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.5244, allocations: 43.3 kB / 1.047 GB, free: 8.395 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.5268, allocations: 2.693 MB / 1.05 GB, free: 5.602 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.5272, allocations: 0.7686 MB / 1.051 GB, free: 4.809 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000189/0.5274, allocations: 42.91 kB / 1.051 GB, free: 4.766 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.5276, allocations: 83.41 kB / 1.051 GB, free: 4.684 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.5276, allocations: 0 / 1.051 GB, free: 4.684 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5347/1.062, allocations: 5.454 MB / 1.056 GB, free: 152.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/1.063, allocations: 214.9 kB / 1.056 GB, free: 151.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/3.069, allocations: 1.438 kB / 1.056 GB, free: 151.9 MB / 0.698 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)