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.Cos.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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.55/2.55, allocations: 252.6 MB / 265.2 MB, free: 5.641 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.001466/0.001466, allocations: 183.8 kB / 324.5 MB, free: 14.37 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.225/2.225, allocations: 205.4 MB / 0.5754 GB, free: 10.48 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.001176/0.001175, allocations: 86.31 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.592e-05/3.611e-05, allocations: 8 kB / 0.7912 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2177, allocations: 106.2 MB / 0.8949 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8818/1.1, allocations: 131.2 MB / 1.023 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/1.1, allocations: 71.02 kB / 1.023 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002559/1.103, allocations: 0.6747 MB / 1.024 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.074e-06/1.103, allocations: 0 / 1.024 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.033e-06/1.103, allocations: 0 / 1.024 GB, free: 2.68 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004721/1.103, allocations: 334.5 kB / 1.024 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/1.103, allocations: 12.03 kB / 1.024 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/1.103, allocations: 0 / 1.024 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/1.103, allocations: 167 kB / 1.024 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/1.103, allocations: 11.36 kB / 1.024 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/1.103, allocations: 0 / 1.024 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/1.104, allocations: 32.77 kB / 1.024 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.104, allocations: 0 / 1.024 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/1.104, allocations: 4 kB / 1.024 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.104, allocations: 0 / 1.024 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.286e-05/1.104, allocations: 11.5 kB / 1.024 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005555/1.104, allocations: 276.5 kB / 1.025 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.642e-05/1.104, allocations: 34.44 kB / 1.025 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/1.104, allocations: 12.48 kB / 1.025 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/1.104, allocations: 0 / 1.025 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/1.104, allocations: 30.56 kB / 1.025 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/1.104, allocations: 2.625 kB / 1.025 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001846/1.105, allocations: 48.72 kB / 1.025 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/1.105, allocations: 51.41 kB / 1.025 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.747e-05/1.105, allocations: 104.8 kB / 1.025 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/1.105, allocations: 25.7 kB / 1.025 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/1.105, allocations: 80.14 kB / 1.025 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/1.105, allocations: 3.906 kB / 1.025 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/1.105, allocations: 0 / 1.025 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.105, allocations: 322.5 kB / 1.025 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.488e-05/1.105, allocations: 0 / 1.025 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.47e-05/1.105, allocations: 7.688 kB / 1.025 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.018e-05/1.105, allocations: 4.062 kB / 1.025 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.105, allocations: 4 kB / 1.025 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001099/1.105, allocations: 41.14 kB / 1.025 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.105, allocations: 4 kB / 1.025 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.105, allocations: 0 / 1.025 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/1.105, allocations: 0.875 kB / 1.025 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/1.106, allocations: 15.92 kB / 1.025 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/1.106, allocations: 0 / 1.025 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.385e-05/1.106, allocations: 19.95 kB / 1.025 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/1.106, allocations: 3.953 kB / 1.025 GB, free: 0.8828 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.38e-05/1.106, allocations: 104.4 kB / 1.025 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/1.106, allocations: 4 kB / 1.025 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/1.106, allocations: 48.58 kB / 1.025 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/1.106, allocations: 3.938 kB / 1.025 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/1.106, allocations: 4 kB / 1.025 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.106, allocations: 0 / 1.025 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/1.106, allocations: 165.4 kB / 1.026 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.106, allocations: 0 / 1.026 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/1.107, allocations: 12 kB / 1.026 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/1.107, allocations: 3.938 kB / 1.026 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/1.107, allocations: 3.375 kB / 1.026 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/1.107, allocations: 3.984 kB / 1.026 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.107, allocations: 0 / 1.026 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/1.107, allocations: 145.5 kB / 1.026 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.316e-05/1.107, allocations: 77.11 kB / 1.026 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/1.107, allocations: 0 / 1.026 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/1.107, allocations: 15.92 kB / 1.026 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/1.107, allocations: 0 / 1.026 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/1.107, allocations: 3.984 kB / 1.026 GB, free: 232 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.618e-05/1.107, allocations: 79.28 kB / 1.026 GB, free: 152 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.107, allocations: 0 / 1.026 GB, free: 152 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002707/1.107, allocations: 4.031 kB / 1.026 GB, free: 148 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001684/1.108, allocations: 105.1 kB / 1.026 GB, free: 36 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001229/1.108, allocations: 15.38 kB / 1.026 GB, free: 24 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/1.108, allocations: 0 / 1.026 GB, free: 24 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.895e-05/1.108, allocations: 7.188 kB / 1.026 GB, free: 20 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/1.108, allocations: 8.641 kB / 1.026 GB, free: 12 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/1.108, allocations: 67.91 kB / 1.026 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/1.109, allocations: 0.677 MB / 1.027 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.634e-05/1.109, allocations: 7.938 kB / 1.027 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/1.109, allocations: 7.438 kB / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/1.109, allocations: 0 / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of Templates: time 0.003034/1.112, allocations: 363.5 kB / 1.027 GB, free: 14.87 MB / 0.6511 GB