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.643/1.643, allocations: 249.3 MB / 261.8 MB, free: 5.84 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001291/0.001291, allocations: 172.9 kB / 321.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0007957/0.0007957, allocations: 86.52 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.656e-05/4.668e-05, allocations: 4 kB / 0.7881 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.24, allocations: 106.3 MB / 0.8919 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7947/1.035, allocations: 132.4 MB / 1.021 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/1.035, allocations: 77.7 kB / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02463/1.06, allocations: 8.749 MB / 1.03 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.974e-06/1.06, allocations: 3.938 kB / 1.03 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.353e-05/1.06, allocations: 8 kB / 1.03 GB, free: 10.95 MB / 0.6511 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.001095/1.061, allocations: 0.5939 MB / 1.03 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/1.061, allocations: 12.03 kB / 1.03 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.801e-05/1.061, allocations: 60.84 kB / 1.03 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.031e-05/1.061, allocations: 34.36 kB / 1.031 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/1.061, allocations: 187.6 kB / 1.031 GB, free: 10 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/1.062, allocations: 266.7 kB / 1.031 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.024e-05/1.062, allocations: 26.94 kB / 1.031 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/1.062, allocations: 254.1 kB / 1.031 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/1.062, allocations: 0 / 1.031 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/1.062, allocations: 9 kB / 1.031 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/1.062, allocations: 4 kB / 1.031 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/1.062, allocations: 138.9 kB / 1.031 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/1.064, allocations: 0.814 MB / 1.032 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/1.064, allocations: 181.3 kB / 1.032 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/1.064, allocations: 119.5 kB / 1.032 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.479e-05/1.064, allocations: 12.17 kB / 1.032 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004363/1.065, allocations: 290.7 kB / 1.033 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 1.893e-06/1.065, allocations: 0 / 1.033 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.0006008/1.065, allocations: 333.5 kB / 1.033 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.156e-05/1.065, allocations: 118.8 kB / 1.033 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/1.066, allocations: 156.4 kB / 1.033 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/1.066, allocations: 39.77 kB / 1.033 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/1.066, allocations: 122.2 kB / 1.033 GB, free: 7.434 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/1.066, allocations: 145.3 kB / 1.034 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/1.066, allocations: 17.38 kB / 1.034 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.066, allocations: 343.5 kB / 1.034 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/1.066, allocations: 131.4 kB / 1.034 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/1.067, allocations: 236.5 kB / 1.034 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/1.067, allocations: 153.4 kB / 1.034 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.067, allocations: 0 / 1.034 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0006695/1.067, allocations: 446.1 kB / 1.035 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.068, allocations: 5.25 kB / 1.035 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.068, allocations: 4 kB / 1.035 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.068, allocations: 11.98 kB / 1.035 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/1.068, allocations: 99.64 kB / 1.035 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/1.068, allocations: 4 kB / 1.035 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/1.068, allocations: 73.28 kB / 1.035 GB, free: 6.055 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.613e-05/1.068, allocations: 21.95 kB / 1.035 GB, free: 6.039 MB / 0.6511 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 () * 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.0001404/1.068, allocations: 147.9 kB / 1.035 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/1.068, allocations: 23.72 kB / 1.035 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.665e-05/1.069, allocations: 34.28 kB / 1.035 GB, free: 5.863 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/1.069, allocations: 8 kB / 1.035 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.069, allocations: 0 / 1.035 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/1.069, allocations: 3.984 kB / 1.035 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/1.069, allocations: 365.2 kB / 1.036 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.069, allocations: 0 / 1.036 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/1.069, allocations: 82.7 kB / 1.036 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/1.069, allocations: 4 kB / 1.036 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/1.069, allocations: 9.5 kB / 1.036 GB, free: 5.418 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/1.069, allocations: 7.984 kB / 1.036 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.069, allocations: 4 kB / 1.036 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008528/1.07, allocations: 0.5571 MB / 1.036 GB, free: 4.949 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/1.07, allocations: 108.8 kB / 1.036 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/1.07, allocations: 18.42 kB / 1.036 GB, free: 4.812 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/1.071, allocations: 38.53 kB / 1.036 GB, free: 4.781 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/1.071, allocations: 43.58 kB / 1.036 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/1.071, allocations: 15.19 kB / 1.037 GB, free: 4.734 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.686e-05/1.071, allocations: 131.3 kB / 1.037 GB, free: 4.617 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/1.071, allocations: 3.938 kB / 1.037 GB, free: 4.613 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003269/1.071, allocations: 80.94 kB / 1.037 GB, free: 4.551 MB / 0.6511 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 () * 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.001179/1.072, allocations: 1.255 MB / 1.038 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005449/1.073, allocations: 345.8 kB / 1.038 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.073, allocations: 0 / 1.038 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/1.073, allocations: 162.2 kB / 1.038 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/1.074, allocations: 35.91 kB / 1.038 GB, free: 3.023 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/1.075, allocations: 0.59 MB / 1.039 GB, free: 2.465 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/1.075, allocations: 0.7764 MB / 1.04 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000175/1.075, allocations: 42.95 kB / 1.04 GB, free: 1.621 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/1.075, allocations: 83.84 kB / 1.04 GB, free: 1.59 MB / 0.6511 GB Notification: Performance of SimCode: time 2.91e-07/1.075, allocations: 3.938 kB / 1.04 GB, free: 1.586 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/1.093, allocations: 5.573 MB / 1.045 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/1.093, allocations: 183.4 kB / 1.046 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/3.121, allocations: 2.188 kB / 1.046 GB, free: 11.93 MB / 0.6667 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)