Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.189/2.189, allocations: 248.5 MB / 261 MB, free: 6.004 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.001501/0.0015, allocations: 174.7 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.2 MB / 0.571 GB, free: 11.81 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.001159/0.001158, allocations: 90.48 kB / 0.6754 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.447e-05/4.465e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.211, allocations: 106.3 MB / 0.8907 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9099/1.121, allocations: 132.2 MB / 1.02 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/1.121, allocations: 71.89 kB / 1.02 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0466/1.168, allocations: 8.75 MB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.803e-06/1.168, allocations: 0 / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.352e-05/1.168, allocations: 8 kB / 1.028 GB, free: 11.69 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.001734/1.17, allocations: 0.6015 MB / 1.029 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/1.17, allocations: 10.66 kB / 1.029 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/1.17, allocations: 57.17 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/1.17, allocations: 31.66 kB / 1.029 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001934/1.17, allocations: 195.6 kB / 1.029 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002755/1.171, allocations: 268.5 kB / 1.03 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-05/1.171, allocations: 31.55 kB / 1.03 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006225/1.171, allocations: 242.4 kB / 1.03 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/1.171, allocations: 0 / 1.03 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/1.171, allocations: 14.67 kB / 1.03 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/1.171, allocations: 4 kB / 1.03 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004888/1.172, allocations: 142.7 kB / 1.03 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/1.174, allocations: 0.8068 MB / 1.031 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006063/1.174, allocations: 185.3 kB / 1.031 GB, free: 9.195 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/1.175, allocations: 117.3 kB / 1.031 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.976e-05/1.175, allocations: 15.48 kB / 1.031 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006755/1.176, allocations: 288.2 kB / 1.031 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 3.888e-06/1.176, allocations: 4 kB / 1.031 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.0009809/1.177, allocations: 334 kB / 1.032 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.648e-05/1.177, allocations: 114.8 kB / 1.032 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/1.177, allocations: 156.2 kB / 1.032 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.007e-05/1.177, allocations: 56.38 kB / 1.032 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.73e-05/1.177, allocations: 114.9 kB / 1.032 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/1.177, allocations: 150.5 kB / 1.032 GB, free: 8.031 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/1.177, allocations: 13.56 kB / 1.032 GB, free: 8.027 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001469/1.177, allocations: 337.9 kB / 1.033 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000408/1.178, allocations: 134.9 kB / 1.033 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/1.178, allocations: 225.9 kB / 1.033 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004414/1.179, allocations: 155.5 kB / 1.033 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/1.179, allocations: 0 / 1.033 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001153/1.18, allocations: 448.3 kB / 1.034 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/1.18, allocations: 4 kB / 1.034 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.18, allocations: 4 kB / 1.034 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/1.18, allocations: 8 kB / 1.034 GB, free: 6.949 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007622/1.181, allocations: 99.69 kB / 1.034 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/1.181, allocations: 7.938 kB / 1.034 GB, free: 6.848 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/1.181, allocations: 73.66 kB / 1.034 GB, free: 6.785 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.637e-05/1.181, allocations: 22.77 kB / 1.034 GB, free: 6.77 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.0001883/1.182, allocations: 137.5 kB / 1.034 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/1.182, allocations: 35.58 kB / 1.034 GB, free: 6.609 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/1.182, allocations: 27.72 kB / 1.034 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/1.182, allocations: 8 kB / 1.034 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/1.182, allocations: 0 / 1.034 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/1.182, allocations: 4.047 kB / 1.034 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005414/1.183, allocations: 363.8 kB / 1.034 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/1.183, allocations: 3.984 kB / 1.034 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008352/1.183, allocations: 75.72 kB / 1.034 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/1.183, allocations: 4.094 kB / 1.034 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-05/1.183, allocations: 15.17 kB / 1.034 GB, free: 6.145 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/1.184, allocations: 4 kB / 1.034 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.184, allocations: 3.984 kB / 1.034 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/1.185, allocations: 0.5608 MB / 1.035 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/1.185, allocations: 104.7 kB / 1.035 GB, free: 5.562 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.071e-05/1.185, allocations: 18.86 kB / 1.035 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004668/1.186, allocations: 39.34 kB / 1.035 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/1.186, allocations: 43.53 kB / 1.035 GB, free: 5.484 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.096e-05/1.186, allocations: 15.98 kB / 1.035 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001419/1.186, allocations: 127.7 kB / 1.035 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.8e-07/1.186, allocations: 0 / 1.035 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004917/1.187, allocations: 81.61 kB / 1.035 GB, free: 5.293 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.001976/1.189, allocations: 1.256 MB / 1.037 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001148/1.19, allocations: 353.4 kB / 1.037 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/1.19, allocations: 0 / 1.037 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005538/1.19, allocations: 163.7 kB / 1.037 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004898/1.191, allocations: 31.86 kB / 1.037 GB, free: 3.762 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/1.193, allocations: 0.5973 MB / 1.038 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/1.194, allocations: 0.7763 MB / 1.038 GB, free: 2.398 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003729/1.194, allocations: 38.97 kB / 1.038 GB, free: 2.359 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/1.194, allocations: 86.45 kB / 1.039 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of SimCode: time 1.232e-06/1.194, allocations: 0 / 1.039 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0393/1.234, allocations: 5.564 MB / 1.044 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003645/1.234, allocations: 167.5 kB / 1.044 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.745/3.979, allocations: 4 kB / 1.044 GB, free: 12.68 MB / 0.6667 GB