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.403/2.403, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001587/0.001587, allocations: 175.1 kB / 325.6 MB, free: 2.824 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.534/2.534, allocations: 205.4 MB / 0.5766 GB, free: 21.11 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.002201/0.002201, allocations: 100 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004817, allocations: 14.53 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.21, allocations: 106.3 MB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2381/0.4482, allocations: 131.2 MB / 1.027 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0011/0.4494, allocations: 63.97 kB / 1.027 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003182/0.4527, allocations: 0.6142 MB / 1.028 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4527, allocations: 4 kB / 1.028 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.4527, allocations: 0 / 1.028 GB, free: 13.89 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005098/0.4533, allocations: 343.2 kB / 1.028 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.4533, allocations: 8.031 kB / 1.028 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.4534, allocations: 0 / 1.028 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.4535, allocations: 171 kB / 1.028 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.4536, allocations: 0 / 1.028 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.4536, allocations: 11.94 kB / 1.028 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.4539, allocations: 49.67 kB / 1.028 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.4539, allocations: 0 / 1.028 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.4539, allocations: 7.938 kB / 1.028 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.4539, allocations: 0 / 1.028 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.4543, allocations: 51.95 kB / 1.028 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005835/0.4549, allocations: 272.7 kB / 1.029 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.4551, allocations: 46.59 kB / 1.029 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.4551, allocations: 0 / 1.029 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.4551, allocations: 34.5 kB / 1.029 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.492e-06/0.4552, allocations: 0 / 1.029 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0005685/0.4557, allocations: 101.7 kB / 1.029 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.4558, allocations: 51.41 kB / 1.029 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.628e-05/0.4559, allocations: 93 kB / 1.029 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.4559, allocations: 25.7 kB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.538e-05/0.456, allocations: 88.27 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.456, allocations: 7.891 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.4561, allocations: 0 / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4562, allocations: 318.8 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.4564, allocations: 19.98 kB / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.4565, allocations: 23.98 kB / 1.029 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.4567, allocations: 23.97 kB / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4567, allocations: 3.938 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003656/0.4571, allocations: 77.73 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4571, allocations: 4 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.4571, allocations: 3.938 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.4572, allocations: 4 kB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.4573, allocations: 11.98 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4574, allocations: 0 / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.708e-05/0.4575, allocations: 12.02 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.4575, allocations: 4 kB / 1.029 GB, free: 11.84 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 (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.0001019/0.4576, allocations: 109.8 kB / 1.03 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.4576, allocations: 3.906 kB / 1.03 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.4577, allocations: 11.12 kB / 1.03 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.4577, allocations: 0 / 1.03 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4577, allocations: 3.938 kB / 1.03 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4577, allocations: 0 / 1.03 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.458, allocations: 161.6 kB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.458, allocations: 7.984 kB / 1.03 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.4581, allocations: 11.98 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4581, allocations: 3.938 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.4582, allocations: 4 kB / 1.03 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4582, allocations: 256 / 1.03 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4582, allocations: 0 / 1.03 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.4586, allocations: 175.5 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.4587, allocations: 81.11 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.4587, allocations: 4 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.4589, allocations: 7.984 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.4589, allocations: 4.031 kB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.459, allocations: 4 kB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.77e-05/0.459, allocations: 83.28 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.61e-07/0.459, allocations: 0 / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002718/0.4593, allocations: 4 kB / 1.03 GB, free: 11.08 MB / 0.6823 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 () * Number of clocked 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.0001707/0.4595, allocations: 99.23 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.4599, allocations: 51.91 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4599, allocations: 0 / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.4601, allocations: 23.98 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.4603, allocations: 7.938 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.4607, allocations: 108.8 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.4611, allocations: 0.6848 MB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.736e-05/0.4611, allocations: 3.984 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.4612, allocations: 11.38 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of SimCode: time 7.72e-07/0.4612, allocations: 0 / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of Templates: time 0.002933/0.4641, allocations: 356.1 kB / 1.031 GB, free: 9.691 MB / 0.6823 GB