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.191/2.191, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002235/0.002234, allocations: 186.8 kB / 325.6 MB, free: 2.816 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.591/2.591, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001101/0.001101, allocations: 97.8 kB / 0.6811 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004587/0.0004587, allocations: 11.56 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2125, allocations: 106.3 MB / 0.8989 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2199/0.4325, allocations: 131.4 MB / 1.027 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.4328, allocations: 71.95 kB / 1.027 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006218/0.439, allocations: 1.383 MB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.375e-06/0.4391, allocations: 0 / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.4391, allocations: 0 / 1.029 GB, free: 12.34 MB / 0.6823 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.0005972/0.4397, allocations: 379 kB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4398, allocations: 8.031 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.4398, allocations: 4 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.4401, allocations: 190.9 kB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.4402, allocations: 0 / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.4402, allocations: 4 kB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.4404, allocations: 69.61 kB / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.4405, allocations: 0 / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.4405, allocations: 0 / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4405, allocations: 0 / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003364/0.4409, allocations: 55.95 kB / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006653/0.4415, allocations: 300.8 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.4418, allocations: 58.5 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.4418, allocations: 0 / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.4419, allocations: 38.64 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.4419, allocations: 0 / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0005971/0.4425, allocations: 117.5 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.4425, allocations: 55.36 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.23e-05/0.4426, allocations: 105 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.4427, allocations: 29.64 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.4427, allocations: 84.14 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.4428, allocations: 19.8 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/0.4428, allocations: 4 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4429, allocations: 310.8 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.4431, allocations: 27.98 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.4433, allocations: 31.97 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.4434, allocations: 32.11 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4434, allocations: 0 / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003829/0.4438, allocations: 93.66 kB / 1.031 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.4439, allocations: 8 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.4439, allocations: 0 / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.4439, allocations: 3.938 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.4441, allocations: 15.98 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.4441, allocations: 7.938 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.4442, allocations: 16.03 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.4443, allocations: 0 / 1.031 GB, free: 10.1 MB / 0.6823 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 9.44e-05/0.4444, allocations: 118.7 kB / 1.031 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.4444, allocations: 7.984 kB / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000408/0.4448, allocations: 93.55 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.4448, allocations: 0 / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4449, allocations: 0 / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4449, allocations: 4 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.4451, allocations: 173.6 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4451, allocations: 0 / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.4453, allocations: 11.98 kB / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4453, allocations: 7.938 kB / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.4453, allocations: 0 / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.4454, allocations: 0 / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4454, allocations: 384 / 1.031 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006054/0.446, allocations: 223.3 kB / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.446, allocations: 81.05 kB / 1.031 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.4461, allocations: 64 / 1.031 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.4462, allocations: 23.95 kB / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.4463, allocations: 0 / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.4463, allocations: 7.984 kB / 1.031 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.4464, allocations: 83.28 kB / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4464, allocations: 0 / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000292/0.4467, allocations: 11.91 kB / 1.031 GB, free: 9.172 MB / 0.6823 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.000168/0.4468, allocations: 111.2 kB / 1.032 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003817/0.4472, allocations: 59.95 kB / 1.032 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.4473, allocations: 0 / 1.032 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.4474, allocations: 31.98 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.4477, allocations: 11.95 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000425/0.4482, allocations: 162.3 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.4484, allocations: 0.6926 MB / 1.032 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.197e-05/0.4485, allocations: 4.25 kB / 1.033 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.4485, allocations: 11.42 kB / 1.033 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of SimCode: time 9.12e-07/0.4485, allocations: 0 / 1.033 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of Templates: time 0.003265/0.4518, allocations: 0.4921 MB / 1.033 GB, free: 7.547 MB / 0.6823 GB