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.369/1.369, allocations: 251.9 MB / 266.8 MB, free: 11.04 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.001059/0.001059, allocations: 176.2 kB / 326.5 MB, free: 2.277 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.624/1.624, allocations: 205.4 MB / 0.5775 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.0009474/0.0009474, allocations: 92.78 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003585, allocations: 12.69 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2552, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.4465, allocations: 132.5 MB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.4468, allocations: 71.97 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02515/0.472, allocations: 8.792 MB / 1.038 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.886e-06/0.4721, allocations: 0 / 1.038 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.939e-05/0.4721, allocations: 8 kB / 1.038 GB, free: 2.289 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.001688/0.4738, allocations: 0.6263 MB / 1.039 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.383e-05/0.4739, allocations: 8.031 kB / 1.039 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001578/0.474, allocations: 66.47 kB / 1.039 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.4742, allocations: 31.62 kB / 1.039 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.4744, allocations: 187.6 kB / 1.039 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002577/0.4746, allocations: 259.8 kB / 1.039 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.366e-05/0.4747, allocations: 39.98 kB / 1.039 GB, free: 0.918 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005757/0.4753, allocations: 261.7 kB / 1.04 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.4753, allocations: 4 kB / 1.04 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.4754, allocations: 11.94 kB / 1.04 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.4754, allocations: 8 kB / 1.04 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005341/0.4759, allocations: 187.8 kB / 1.04 GB, free: 456 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.4777, allocations: 0.8011 MB / 1.041 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/0.4782, allocations: 212.6 kB / 1.041 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.58e-05/0.4783, allocations: 20.11 kB / 1.041 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007638/0.4791, allocations: 311.5 kB / 1.041 GB, free: 15 MB / 0.698 GB Notification: Performance of pre-optimization done (n=48): time 3.296e-06/0.4791, allocations: 0 / 1.041 GB, free: 15 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.001206/0.4803, allocations: 0.4885 MB / 1.042 GB, free: 14.51 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.504e-05/0.4804, allocations: 118.8 kB / 1.042 GB, free: 14.37 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.4806, allocations: 162.5 kB / 1.042 GB, free: 14.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.4807, allocations: 41.64 kB / 1.042 GB, free: 14.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.4808, allocations: 113.3 kB / 1.042 GB, free: 14.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.4809, allocations: 150 kB / 1.042 GB, free: 13.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.481, allocations: 15.94 kB / 1.042 GB, free: 13.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4811, allocations: 342.8 kB / 1.043 GB, free: 13.53 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.4815, allocations: 153.2 kB / 1.043 GB, free: 13.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.4819, allocations: 260.7 kB / 1.043 GB, free: 13.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.4822, allocations: 164 kB / 1.043 GB, free: 12.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4823, allocations: 4 kB / 1.043 GB, free: 12.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008747/0.4831, allocations: 493.5 kB / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.4832, allocations: 8 kB / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.4832, allocations: 4 kB / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.4832, allocations: 11.98 kB / 1.044 GB, free: 12.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.4836, allocations: 103.8 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.4836, allocations: 11.94 kB / 1.044 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/0.484, allocations: 67.66 kB / 1.044 GB, free: 12.24 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.484, allocations: 20 kB / 1.044 GB, free: 12.22 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.0001944/0.4842, allocations: 169.4 kB / 1.044 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.4843, allocations: 23.72 kB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.323e-05/0.4844, allocations: 29.88 kB / 1.044 GB, free: 11.99 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4844, allocations: 8 kB / 1.044 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.4844, allocations: 0 / 1.044 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.4844, allocations: 3.984 kB / 1.044 GB, free: 11.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.4849, allocations: 369 kB / 1.044 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.4849, allocations: 4 kB / 1.044 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004069/0.4853, allocations: 71.91 kB / 1.044 GB, free: 11.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-06/0.4853, allocations: 7.984 kB / 1.044 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.4854, allocations: 12 kB / 1.044 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.4854, allocations: 4 kB / 1.044 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4854, allocations: 0 / 1.044 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.4865, allocations: 0.6284 MB / 1.045 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.092e-05/0.4866, allocations: 100.8 kB / 1.045 GB, free: 10.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/0.4867, allocations: 11.98 kB / 1.045 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.4869, allocations: 52.03 kB / 1.045 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.4871, allocations: 39.94 kB / 1.045 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.4871, allocations: 19.95 kB / 1.045 GB, free: 10.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.712e-05/0.4872, allocations: 124.1 kB / 1.045 GB, free: 10.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4872, allocations: 0 / 1.045 GB, free: 10.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000378/0.4876, allocations: 76 kB / 1.045 GB, free: 10.38 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.001561/0.4892, allocations: 1.315 MB / 1.047 GB, free: 9.008 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007672/0.4899, allocations: 394.7 kB / 1.047 GB, free: 8.625 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.49, allocations: 192 / 1.047 GB, free: 8.625 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.4903, allocations: 176.7 kB / 1.047 GB, free: 8.453 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.4906, allocations: 45.55 kB / 1.047 GB, free: 8.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.4932, allocations: 2.702 MB / 1.05 GB, free: 5.609 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.4935, allocations: 0.7725 MB / 1.051 GB, free: 4.812 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001872/0.4937, allocations: 34.97 kB / 1.051 GB, free: 4.777 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.4939, allocations: 91.33 kB / 1.051 GB, free: 4.688 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/0.4939, allocations: 0 / 1.051 GB, free: 4.688 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4999/0.9939, allocations: 5.44 MB / 1.056 GB, free: 152.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/0.9942, allocations: 201.3 kB / 1.056 GB, free: 151.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.127/3.121, allocations: 0 / 1.056 GB, free: 151.9 MB / 0.698 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)