Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.863/4.863, allocations: 0.5623 GB / 0.5775 GB, free: 3.32 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002652/0.002652, allocations: 356.2 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.365/4.365, allocations: 410.7 MB / 1.113 GB, free: 6.113 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001821/0.00182, allocations: 188 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005026/0.0005028, allocations: 12 kB / 1.349 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7582/0.7587, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/0.9615, allocations: 138.2 MB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/0.9619, allocations: 87.94 kB / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.005996/0.9679, allocations: 1.438 MB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.653e-06/0.968, allocations: 3.938 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.968, allocations: 6.625 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000519/0.9686, allocations: 363.2 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.9686, allocations: 11.62 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.9687, allocations: 9.562 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.9689, allocations: 187 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.9689, allocations: 2.5 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.969, allocations: 7.938 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.9692, allocations: 68.47 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.9693, allocations: 0.6562 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.9693, allocations: 0 / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.9693, allocations: 0.875 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.9696, allocations: 62.42 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.9702, allocations: 303.5 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.9704, allocations: 53.7 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.9706, allocations: 33.8 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.9706, allocations: 1 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.9707, allocations: 39.25 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.9707, allocations: 0 / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0005597/0.9712, allocations: 113.3 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.9713, allocations: 52.66 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.089e-05/0.9714, allocations: 117.7 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.9714, allocations: 25.7 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.9714, allocations: 88.64 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.9715, allocations: 13.69 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-06/0.9715, allocations: 0 / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.007e-05/0.9716, allocations: 322.8 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.9717, allocations: 25.11 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.9719, allocations: 33.06 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.972, allocations: 29.52 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.9721, allocations: 1.781 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003499/0.9724, allocations: 94.5 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.9724, allocations: 4 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9725, allocations: 5.594 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.9725, allocations: 0 / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.9727, allocations: 15.98 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.9727, allocations: 1.031 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.814e-05/0.9728, allocations: 12.47 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-06/0.9728, allocations: 5.438 kB / 1.6 GB, free: 142.3 MB / 0.8542 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.521e-05/0.9729, allocations: 110.2 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.9729, allocations: 7.906 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.9733, allocations: 105.7 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.9733, allocations: 0 / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.9734, allocations: 9.156 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.9734, allocations: 192 / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.9736, allocations: 177.6 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.9736, allocations: 0.5 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.9737, allocations: 17.27 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.9737, allocations: 0 / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.9738, allocations: 1.938 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.9738, allocations: 3.984 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.9738, allocations: 0 / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000565/0.9744, allocations: 222.9 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.9744, allocations: 81.02 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.9744, allocations: 5.094 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.9746, allocations: 16.58 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.9746, allocations: 5.406 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-06/0.9746, allocations: 3.25 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.49e-05/0.9747, allocations: 91.27 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9747, allocations: 0 / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002779/0.975, allocations: 4 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001263/0.9751, allocations: 103.2 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003554/0.9755, allocations: 66.48 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.9755, allocations: 0 / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.9757, allocations: 33.34 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.9761, allocations: 13.55 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004152/0.9765, allocations: 162.3 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.9767, allocations: 0.6898 MB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.19e-05/0.9767, allocations: 4 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.9768, allocations: 10.22 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of SimCode: time 8.61e-07/0.9768, allocations: 0 / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.003183/0.98, allocations: 0.4932 MB / 1.602 GB, free: 139.8 MB / 0.8542 GB