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.Gain.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.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.481/2.481, allocations: 253.2 MB / 260.6 MB, free: 7.43 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.001491/0.001491, allocations: 169 kB / 319.9 MB, free: 3.051 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.179/2.179, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001491/0.001491, allocations: 85.09 kB / 0.6751 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.559e-05, allocations: 12 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2135, allocations: 106.3 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9325/1.146, allocations: 131.3 MB / 1.017 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/1.146, allocations: 71.08 kB / 1.017 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002834/1.149, allocations: 0.6042 MB / 1.018 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.264e-06/1.149, allocations: 0 / 1.018 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.521e-05/1.149, allocations: 0 / 1.018 GB, free: 5.375 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.0005218/1.15, allocations: 346.6 kB / 1.018 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/1.15, allocations: 12.02 kB / 1.018 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/1.15, allocations: 0 / 1.018 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/1.15, allocations: 171 kB / 1.018 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/1.15, allocations: 0 / 1.018 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/1.15, allocations: 3.984 kB / 1.018 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001069/1.15, allocations: 12.56 kB / 1.018 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/1.151, allocations: 37.27 kB / 1.018 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/1.151, allocations: 4 kB / 1.018 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/1.151, allocations: 0 / 1.018 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/1.151, allocations: 0 / 1.018 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/1.151, allocations: 249 kB / 1.018 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.813e-05/1.151, allocations: 22.52 kB / 1.018 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.261e-05/1.151, allocations: 16.3 kB / 1.018 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/1.151, allocations: 4 kB / 1.018 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/1.151, allocations: 33.19 kB / 1.018 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.334e-06/1.151, allocations: 0 / 1.018 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002157/1.152, allocations: 49.28 kB / 1.019 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/1.152, allocations: 51.41 kB / 1.019 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/1.152, allocations: 97.61 kB / 1.019 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/1.152, allocations: 29.73 kB / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/1.152, allocations: 88.08 kB / 1.019 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/1.152, allocations: 3.906 kB / 1.019 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/1.152, allocations: 0 / 1.019 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.152, allocations: 318.3 kB / 1.019 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.911e-05/1.152, allocations: 4 kB / 1.019 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.758e-05/1.152, allocations: 7.812 kB / 1.019 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.722e-05/1.152, allocations: 0 / 1.019 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.152, allocations: 4.062 kB / 1.019 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001287/1.152, allocations: 45.12 kB / 1.019 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/1.153, allocations: 4 kB / 1.019 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.153, allocations: 3.938 kB / 1.019 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/1.153, allocations: 0 / 1.019 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/1.153, allocations: 15.98 kB / 1.019 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/1.153, allocations: 0 / 1.019 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/1.153, allocations: 4.5 kB / 1.019 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/1.153, allocations: 4.031 kB / 1.019 GB, free: 3.617 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.0001045/1.153, allocations: 112.9 kB / 1.019 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/1.153, allocations: 3.938 kB / 1.019 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.514e-05/1.153, allocations: 11.52 kB / 1.019 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/1.153, allocations: 0 / 1.019 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.153, allocations: 256 / 1.019 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.153, allocations: 4 kB / 1.019 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/1.153, allocations: 141.9 kB / 1.019 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.153, allocations: 0 / 1.019 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/1.154, allocations: 19.92 kB / 1.019 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/1.154, allocations: 0 / 1.019 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/1.154, allocations: 0 / 1.019 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.154, allocations: 0 / 1.019 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.154, allocations: 0 / 1.019 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/1.154, allocations: 143.1 kB / 1.02 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/1.154, allocations: 81.06 kB / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/1.154, allocations: 4.031 kB / 1.02 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/1.154, allocations: 11.98 kB / 1.02 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/1.154, allocations: 0 / 1.02 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/1.154, allocations: 0 / 1.02 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.178e-05/1.154, allocations: 82.72 kB / 1.02 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.71e-07/1.154, allocations: 0 / 1.02 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000455/1.155, allocations: 4 kB / 1.02 GB, free: 2.941 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.0002087/1.155, allocations: 109.1 kB / 1.02 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001209/1.155, allocations: 11.81 kB / 1.02 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.155, allocations: 0 / 1.02 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.643e-05/1.155, allocations: 7.5 kB / 1.02 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/1.156, allocations: 1.406 kB / 1.02 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/1.156, allocations: 71.73 kB / 1.02 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/1.156, allocations: 0.6769 MB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.003e-05/1.156, allocations: 7.938 kB / 1.021 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/1.156, allocations: 11.44 kB / 1.021 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of SimCode: time 9.12e-07/1.156, allocations: 0 / 1.021 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of Templates: time 0.003635/1.16, allocations: 328.9 kB / 1.021 GB, free: 1.691 MB / 0.6355 GB