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.Tan.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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.438/2.438, allocations: 253.2 MB / 260.6 MB, free: 7.438 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.001468/0.001468, allocations: 167 kB / 319.9 MB, free: 3.039 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.335/2.335, 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.001171/0.001171, allocations: 96.81 kB / 0.6751 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.804e-05/2.802e-05, allocations: 11.98 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2048, allocations: 106.3 MB / 0.8887 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8885/1.093, allocations: 131.4 MB / 1.017 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/1.094, allocations: 73.14 kB / 1.017 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002974/1.097, allocations: 0.6754 MB / 1.018 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.864e-06/1.097, allocations: 0 / 1.018 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.134e-06/1.097, allocations: 0 / 1.018 GB, free: 5.176 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.0005445/1.097, allocations: 339.1 kB / 1.018 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/1.097, allocations: 12.02 kB / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/1.098, allocations: 0 / 1.018 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/1.098, allocations: 171 kB / 1.018 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/1.098, allocations: 4 kB / 1.018 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/1.098, allocations: 0 / 1.018 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001014/1.098, allocations: 11.44 kB / 1.018 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/1.098, allocations: 37.69 kB / 1.018 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.098, allocations: 0 / 1.018 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/1.098, allocations: 0 / 1.018 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/1.098, allocations: 0 / 1.018 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/1.099, allocations: 231.8 kB / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.854e-05/1.099, allocations: 22.58 kB / 1.019 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.557e-05/1.099, allocations: 12.67 kB / 1.019 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/1.099, allocations: 0 / 1.019 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/1.099, allocations: 35.38 kB / 1.019 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.714e-06/1.099, allocations: 2.625 kB / 1.019 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002137/1.099, allocations: 49.03 kB / 1.019 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/1.099, allocations: 55.44 kB / 1.019 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/1.099, allocations: 92.38 kB / 1.019 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/1.099, allocations: 25.7 kB / 1.019 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/1.099, allocations: 80.14 kB / 1.019 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/1.099, allocations: 7.891 kB / 1.019 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/1.099, allocations: 0 / 1.019 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001692/1.1, allocations: 323.4 kB / 1.019 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.732e-05/1.1, allocations: 0 / 1.019 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.86e-05/1.1, allocations: 7.188 kB / 1.019 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.203e-05/1.1, allocations: 8.062 kB / 1.019 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.1, allocations: 0 / 1.019 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001406/1.1, allocations: 41.08 kB / 1.019 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/1.1, allocations: 7.984 kB / 1.019 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.1, allocations: 4 kB / 1.019 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/1.1, allocations: 3.938 kB / 1.019 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/1.1, allocations: 8 kB / 1.019 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.1, allocations: 0 / 1.019 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/1.1, allocations: 12.02 kB / 1.019 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/1.1, allocations: 5 kB / 1.019 GB, free: 3.445 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 0.0001035/1.1, allocations: 104.9 kB / 1.019 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/1.101, allocations: 0 / 1.019 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/1.101, allocations: 52.64 kB / 1.019 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.101, allocations: 3.938 kB / 1.019 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/1.101, allocations: 4 kB / 1.019 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.101, allocations: 7.969 kB / 1.019 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/1.101, allocations: 141.5 kB / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/1.101, allocations: 0 / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/1.101, allocations: 12 kB / 1.02 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.101, allocations: 0 / 1.02 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/1.101, allocations: 0 / 1.02 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/1.101, allocations: 3.984 kB / 1.02 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.101, allocations: 0 / 1.02 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/1.102, allocations: 139.1 kB / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/1.102, allocations: 81.06 kB / 1.02 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/1.102, allocations: 0 / 1.02 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/1.102, allocations: 11.98 kB / 1.02 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/1.102, allocations: 192 / 1.02 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/1.102, allocations: 0 / 1.02 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.894e-05/1.102, allocations: 90.88 kB / 1.02 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.91e-07/1.102, allocations: 4.031 kB / 1.02 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005388/1.103, allocations: 4 kB / 1.02 GB, free: 2.727 MB / 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.0001982/1.103, allocations: 101.1 kB / 1.02 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001147/1.103, allocations: 11.56 kB / 1.02 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.103, allocations: 0 / 1.02 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.625e-05/1.103, allocations: 11.62 kB / 1.02 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/1.103, allocations: 0 / 1.02 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/1.104, allocations: 67.73 kB / 1.02 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/1.104, allocations: 0.6807 MB / 1.021 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.242e-05/1.104, allocations: 0 / 1.021 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/1.104, allocations: 7.438 kB / 1.021 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/1.104, allocations: 3.938 kB / 1.021 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of Templates: time 0.003632/1.108, allocations: 341.3 kB / 1.021 GB, free: 1.484 MB / 0.6355 GB