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.438/2.438, allocations: 252.6 MB / 265.2 MB, free: 5.672 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.001549/0.001549, allocations: 185.5 kB / 324.5 MB, free: 14.36 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.106/2.106, allocations: 205.4 MB / 0.5753 GB, free: 10.48 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.001126/0.001126, allocations: 97.94 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.698e-05/3.718e-05, allocations: 8 kB / 0.7912 GB, free: 96.57 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1986, allocations: 106.2 MB / 0.8949 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9225/1.121, allocations: 131.1 MB / 1.023 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003804/1.122, allocations: 75.31 kB / 1.023 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003436/1.125, allocations: 0.6097 MB / 1.024 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.545e-06/1.125, allocations: 0 / 1.024 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.828e-06/1.125, allocations: 0 / 1.024 GB, free: 2.75 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.0008012/1.126, allocations: 342.8 kB / 1.024 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.439e-05/1.126, allocations: 8.031 kB / 1.024 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/1.126, allocations: 7.938 kB / 1.024 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/1.126, allocations: 163.8 kB / 1.024 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/1.126, allocations: 0 / 1.024 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/1.126, allocations: 4 kB / 1.024 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/1.127, allocations: 41.56 kB / 1.024 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/1.127, allocations: 4 kB / 1.024 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/1.127, allocations: 0 / 1.024 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/1.127, allocations: 0 / 1.024 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/1.127, allocations: 11.44 kB / 1.024 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008127/1.128, allocations: 265.3 kB / 1.024 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/1.128, allocations: 30.02 kB / 1.024 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/1.128, allocations: 12.86 kB / 1.024 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/1.128, allocations: 7.906 kB / 1.024 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/1.128, allocations: 33.19 kB / 1.024 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.246e-06/1.128, allocations: 0 / 1.024 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002531/1.128, allocations: 41.05 kB / 1.025 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/1.128, allocations: 55.41 kB / 1.025 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/1.129, allocations: 100.1 kB / 1.025 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/1.129, allocations: 25.7 kB / 1.025 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.867e-05/1.129, allocations: 88.06 kB / 1.025 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/1.129, allocations: 11.41 kB / 1.025 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/1.129, allocations: 0 / 1.025 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001898/1.129, allocations: 310.8 kB / 1.025 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.462e-05/1.129, allocations: 7.375 kB / 1.025 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.504e-05/1.129, allocations: 7.938 kB / 1.025 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.511e-05/1.129, allocations: 7.812 kB / 1.025 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.129, allocations: 0 / 1.025 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001798/1.129, allocations: 45.38 kB / 1.025 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/1.129, allocations: 4 kB / 1.025 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.129, allocations: 0 / 1.025 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.583e-05/1.129, allocations: 4 kB / 1.025 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/1.13, allocations: 11.98 kB / 1.025 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.726e-05/1.13, allocations: 3.984 kB / 1.025 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/1.13, allocations: 8.031 kB / 1.025 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/1.13, allocations: 7.953 kB / 1.025 GB, free: 0.957 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.0001226/1.13, allocations: 101 kB / 1.025 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/1.13, allocations: 3.938 kB / 1.025 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.983e-05/1.13, allocations: 14.25 kB / 1.025 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/1.13, allocations: 4 kB / 1.025 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.13, allocations: 0 / 1.025 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/1.13, allocations: 0 / 1.025 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/1.131, allocations: 173.4 kB / 1.025 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.131, allocations: 3.938 kB / 1.025 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/1.131, allocations: 11.98 kB / 1.025 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/1.131, allocations: 0 / 1.025 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/1.131, allocations: 0 / 1.025 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/1.131, allocations: 4 kB / 1.025 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.131, allocations: 0 / 1.025 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/1.131, allocations: 145.4 kB / 1.026 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/1.131, allocations: 81.11 kB / 1.026 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/1.131, allocations: 0 / 1.026 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/1.132, allocations: 7.984 kB / 1.026 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/1.132, allocations: 4 kB / 1.026 GB, free: 348 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/1.132, allocations: 0 / 1.026 GB, free: 348 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.791e-05/1.132, allocations: 82.59 kB / 1.026 GB, free: 268 kB / 0.6355 GB Notification: Performance of sort global known variables: time 5.41e-07/1.132, allocations: 0 / 1.026 GB, free: 268 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000486/1.132, allocations: 8.031 kB / 1.026 GB, free: 260 kB / 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.000196/1.133, allocations: 101.1 kB / 1.026 GB, free: 152 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001473/1.133, allocations: 22.17 kB / 1.026 GB, free: 136 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.133, allocations: 0 / 1.026 GB, free: 136 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.137e-05/1.133, allocations: 7.688 kB / 1.026 GB, free: 132 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/1.133, allocations: 11.39 kB / 1.026 GB, free: 124 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/1.134, allocations: 72.97 kB / 1.026 GB, free: 36 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/1.134, allocations: 0.6809 MB / 1.027 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.231e-05/1.134, allocations: 0 / 1.027 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/1.134, allocations: 7.438 kB / 1.027 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of SimCode: time 3.697e-06/1.134, allocations: 0 / 1.027 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of Templates: time 0.003886/1.138, allocations: 364.7 kB / 1.027 GB, free: 14.97 MB / 0.6511 GB