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.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 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.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.451/2.451, allocations: 252.6 MB / 265.2 MB, free: 5.734 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.001475/0.001474, allocations: 185.4 kB / 324.5 MB, free: 14.43 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.082/2.082, allocations: 205.4 MB / 0.5754 GB, free: 10.51 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.001095/0.001095, allocations: 93.58 kB / 0.6797 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.806e-05/3.817e-05, allocations: 8 kB / 0.7912 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2218, allocations: 106.2 MB / 0.8949 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9788/1.201, allocations: 131.3 MB / 1.023 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/1.201, allocations: 69.08 kB / 1.023 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006154/1.207, allocations: 1.383 MB / 1.025 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.433e-06/1.207, allocations: 0 / 1.025 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.183e-05/1.207, allocations: 0 / 1.025 GB, free: 1.973 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005131/1.208, allocations: 361.3 kB / 1.025 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.141e-05/1.208, allocations: 8.031 kB / 1.025 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/1.208, allocations: 7.906 kB / 1.025 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/1.208, allocations: 182.2 kB / 1.025 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/1.208, allocations: 4 kB / 1.025 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/1.208, allocations: 4 kB / 1.025 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/1.208, allocations: 52.94 kB / 1.025 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/1.208, allocations: 0 / 1.025 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/1.208, allocations: 0 / 1.025 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/1.208, allocations: 0 / 1.025 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.803e-05/1.209, allocations: 23.69 kB / 1.025 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006202/1.209, allocations: 308.6 kB / 1.026 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/1.209, allocations: 33.77 kB / 1.026 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/1.209, allocations: 20.05 kB / 1.026 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/1.209, allocations: 96 / 1.026 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/1.209, allocations: 34.55 kB / 1.026 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 4.338e-06/1.21, allocations: 8 kB / 1.026 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001943/1.21, allocations: 45.02 kB / 1.026 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.992e-05/1.21, allocations: 67.28 kB / 1.026 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.011e-05/1.21, allocations: 99.75 kB / 1.026 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/1.21, allocations: 25.7 kB / 1.026 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/1.21, allocations: 87.89 kB / 1.026 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/1.21, allocations: 15.73 kB / 1.026 GB, free: 500 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-06/1.21, allocations: 2.688 kB / 1.026 GB, free: 500 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.21, allocations: 314.8 kB / 1.026 GB, free: 176 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.537e-05/1.21, allocations: 17.81 kB / 1.026 GB, free: 164 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.903e-05/1.21, allocations: 15.75 kB / 1.026 GB, free: 152 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.764e-05/1.21, allocations: 15.92 kB / 1.026 GB, free: 140 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/1.21, allocations: 0 / 1.026 GB, free: 140 kB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001435/1.21, allocations: 59.3 kB / 1.026 GB, free: 84 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.211, allocations: 4 kB / 1.026 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/1.211, allocations: 0 / 1.026 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/1.211, allocations: 3.062 kB / 1.026 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/1.211, allocations: 15.98 kB / 1.026 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/1.211, allocations: 12.73 kB / 1.026 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.875e-05/1.211, allocations: 7.984 kB / 1.026 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/1.211, allocations: 0 / 1.026 GB, free: 44 kB / 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 (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 0.0001019/1.211, allocations: 111.5 kB / 1.026 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/1.211, allocations: 3.906 kB / 1.026 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/1.211, allocations: 68.11 kB / 1.027 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.211, allocations: 0 / 1.027 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.211, allocations: 8 kB / 1.027 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.211, allocations: 3.953 kB / 1.027 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/1.211, allocations: 164.3 kB / 1.027 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.212, allocations: 0 / 1.027 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/1.212, allocations: 15.98 kB / 1.027 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/1.212, allocations: 0 / 1.027 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/1.212, allocations: 3.375 kB / 1.027 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.212, allocations: 384 / 1.027 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.212, allocations: 0 / 1.027 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/1.212, allocations: 173 kB / 1.027 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/1.212, allocations: 85 kB / 1.027 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/1.212, allocations: 7.969 kB / 1.027 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/1.212, allocations: 4 kB / 1.027 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.772e-05/1.212, allocations: 11.55 kB / 1.027 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/1.212, allocations: 0 / 1.027 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.884e-05/1.212, allocations: 85.72 kB / 1.027 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.11e-07/1.212, allocations: 4.062 kB / 1.027 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002793/1.213, allocations: 11.94 kB / 1.027 GB, free: 15.24 MB / 0.6511 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 () * 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.0001707/1.213, allocations: 103.1 kB / 1.027 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001358/1.213, allocations: 32.06 kB / 1.027 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.213, allocations: 0 / 1.027 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.886e-05/1.213, allocations: 15 kB / 1.027 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/1.213, allocations: 12.88 kB / 1.027 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/1.214, allocations: 94.61 kB / 1.027 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/1.214, allocations: 0.6848 MB / 1.028 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.418e-05/1.214, allocations: 8.234 kB / 1.028 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/1.214, allocations: 7.438 kB / 1.028 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of SimCode: time 3.296e-06/1.214, allocations: 0 / 1.028 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of Templates: time 0.003393/1.218, allocations: 0.5038 MB / 1.029 GB, free: 13.77 MB / 0.6511 GB