Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MovingMean_nonZeroStart") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.354/2.354, allocations: 253.2 MB / 260.6 MB, free: 7.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00149/0.00149, allocations: 188.8 kB / 319.9 MB, free: 3.055 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.262/2.262, allocations: 205.5 MB / 0.5708 GB, free: 15.25 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 90.64 kB / 0.6751 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.484e-05/2.492e-05, allocations: 12 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2184, allocations: 106.3 MB / 0.8887 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9817/1.2, allocations: 132.5 MB / 1.018 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004025/1.201, allocations: 72.52 kB / 1.018 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04275/1.243, allocations: 8.695 MB / 1.027 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.134e-06/1.244, allocations: 8 kB / 1.027 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.405e-05/1.244, allocations: 4 kB / 1.027 GB, free: 13.62 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.001778/1.245, allocations: 0.588 MB / 1.027 GB, free: 13 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/1.245, allocations: 18.64 kB / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/1.246, allocations: 27.72 kB / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/1.246, allocations: 191.6 kB / 1.027 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002905/1.246, allocations: 259.5 kB / 1.028 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.702e-05/1.246, allocations: 23.89 kB / 1.028 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004856/1.247, allocations: 135.1 kB / 1.028 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/1.247, allocations: 227.4 kB / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/1.247, allocations: 0 / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/1.247, allocations: 4 kB / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/1.247, allocations: 4 kB / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/1.249, allocations: 0.7591 MB / 1.029 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005516/1.25, allocations: 170.7 kB / 1.029 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002723/1.25, allocations: 112 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-05/1.25, allocations: 12.17 kB / 1.029 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00062/1.251, allocations: 276.2 kB / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 3.867e-06/1.251, allocations: 0 / 1.029 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.0008791/1.252, allocations: 298.4 kB / 1.03 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.37e-05/1.252, allocations: 118.4 kB / 1.03 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/1.252, allocations: 153.5 kB / 1.03 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.488e-05/1.252, allocations: 29.7 kB / 1.03 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/1.252, allocations: 123.8 kB / 1.03 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/1.252, allocations: 140.2 kB / 1.03 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/1.252, allocations: 0 / 1.03 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.253, allocations: 345 kB / 1.031 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/1.253, allocations: 114 kB / 1.031 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/1.253, allocations: 223.3 kB / 1.031 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/1.254, allocations: 132.9 kB / 1.031 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/1.254, allocations: 3.938 kB / 1.031 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001031/1.255, allocations: 406.5 kB / 1.031 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/1.255, allocations: 4.938 kB / 1.031 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/1.255, allocations: 4 kB / 1.031 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/1.255, allocations: 4 kB / 1.031 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007504/1.256, allocations: 99.75 kB / 1.031 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/1.256, allocations: 8 kB / 1.031 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/1.256, allocations: 55.72 kB / 1.032 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-05/1.256, allocations: 27.62 kB / 1.032 GB, free: 8.965 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.0002032/1.257, allocations: 131.1 kB / 1.032 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.102e-05/1.257, allocations: 27.09 kB / 1.032 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.619e-05/1.257, allocations: 27.47 kB / 1.032 GB, free: 8.797 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/1.257, allocations: 4 kB / 1.032 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/1.257, allocations: 7.938 kB / 1.032 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/1.257, allocations: 3.984 kB / 1.032 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/1.257, allocations: 309.3 kB / 1.032 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/1.257, allocations: 3.953 kB / 1.032 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008066/1.258, allocations: 71.89 kB / 1.032 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.954e-06/1.258, allocations: 4 kB / 1.032 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/1.258, allocations: 11.61 kB / 1.032 GB, free: 8.402 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/1.258, allocations: 4 kB / 1.032 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.258, allocations: 0 / 1.032 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/1.26, allocations: 0.5365 MB / 1.033 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.466e-05/1.26, allocations: 104.7 kB / 1.033 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.719e-05/1.26, allocations: 96 / 1.033 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/1.26, allocations: 43.91 kB / 1.033 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/1.26, allocations: 41.88 kB / 1.033 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.334e-05/1.26, allocations: 19.48 kB / 1.033 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001203/1.261, allocations: 109.8 kB / 1.033 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.261, allocations: 0 / 1.033 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000518/1.261, allocations: 67.56 kB / 1.033 GB, free: 7.59 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.0002369/1.261, allocations: 121.8 kB / 1.033 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008447/1.262, allocations: 308 kB / 1.033 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.262, allocations: 0 / 1.033 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004262/1.263, allocations: 163 kB / 1.034 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/1.263, allocations: 35.38 kB / 1.034 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/1.265, allocations: 488.5 kB / 1.034 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/1.265, allocations: 0.7763 MB / 1.035 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000307/1.265, allocations: 39.47 kB / 1.035 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/1.266, allocations: 34.98 kB / 1.035 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of SimCode: time 8.92e-07/1.266, allocations: 0 / 1.035 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of Templates: time 0.009881/1.275, allocations: 2.826 MB / 1.038 GB, free: 2.996 MB / 0.6511 GB