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.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.44/2.44, allocations: 252.6 MB / 265.2 MB, free: 5.723 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.001531/0.001531, allocations: 189.7 kB / 324.5 MB, free: 14.33 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.048/2.048, allocations: 205.4 MB / 0.5754 GB, free: 10.44 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.001151/0.001151, allocations: 94.62 kB / 0.6797 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.886e-05/3.904e-05, allocations: 15.98 kB / 0.7912 GB, free: 96.55 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2168, allocations: 106.2 MB / 0.8949 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.918/1.135, allocations: 134.3 MB / 1.026 GB, free: 300 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/1.135, allocations: 75.08 kB / 1.026 GB, free: 260 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.09544/1.231, allocations: 21.86 MB / 1.047 GB, free: 13.78 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.234e-06/1.231, allocations: 0 / 1.047 GB, free: 13.78 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001437/1.231, allocations: 32 kB / 1.048 GB, free: 13.75 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.004259/1.235, allocations: 1.316 MB / 1.049 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/1.235, allocations: 8.031 kB / 1.049 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008175/1.236, allocations: 154.1 kB / 1.049 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003176/1.239, allocations: 0.7682 MB / 1.05 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/1.239, allocations: 81.7 kB / 1.05 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003443/1.24, allocations: 110.2 kB / 1.05 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003828/1.244, allocations: 1.004 MB / 1.051 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.268e-05/1.244, allocations: 0 / 1.051 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/1.244, allocations: 49.06 kB / 1.051 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-05/1.244, allocations: 24 kB / 1.051 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003204/1.247, allocations: 0.7027 MB / 1.052 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01349/1.261, allocations: 3.946 MB / 1.055 GB, free: 6.98 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/1.265, allocations: 0.8779 MB / 1.056 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/1.267, allocations: 378.4 kB / 1.057 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/1.267, allocations: 8.781 kB / 1.057 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001489/1.268, allocations: 376 kB / 1.057 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=88): time 1.019e-05/1.268, allocations: 0 / 1.057 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88): time 0.002982/1.271, allocations: 0.6697 MB / 1.058 GB, free: 5.391 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002088/1.272, allocations: 222.4 kB / 1.058 GB, free: 5.125 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/1.274, allocations: 0.7647 MB / 1.059 GB, free: 4.531 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002944/1.275, allocations: 43.02 kB / 1.059 GB, free: 4.496 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008226/1.275, allocations: 0.5344 MB / 1.059 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005954/1.276, allocations: 305.5 kB / 1.06 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/1.276, allocations: 13.56 kB / 1.06 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001924/1.276, allocations: 335 kB / 1.06 GB, free: 3.598 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/1.277, allocations: 249 kB / 1.06 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/1.279, allocations: 413.6 kB / 1.06 GB, free: 3.121 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/1.28, allocations: 291.1 kB / 1.061 GB, free: 2.938 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/1.28, allocations: 0 / 1.061 GB, free: 2.938 MB / 0.6667 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003252/1.284, allocations: 0.7868 MB / 1.062 GB, free: 2.359 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002805/1.284, allocations: 459.2 kB / 1.062 GB, free: 1.891 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/1.284, allocations: 0 / 1.062 GB, free: 1.891 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.711e-05/1.284, allocations: 8 kB / 1.062 GB, free: 1.883 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002455/1.286, allocations: 216.1 kB / 1.062 GB, free: 1.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.954e-05/1.286, allocations: 4 kB / 1.062 GB, free: 1.676 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/1.288, allocations: 164.1 kB / 1.062 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/1.289, allocations: 36.86 kB / 1.062 GB, free: 1.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.289, allocations: 9.5 kB / 1.062 GB, free: 1.492 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002434/1.291, allocations: 0.6289 MB / 1.063 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.291, allocations: 0 / 1.063 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.445e-05/1.291, allocations: 11.98 kB / 1.063 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/1.293, allocations: 166.6 kB / 1.063 GB, free: 0.9062 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.217e-05/1.293, allocations: 4 kB / 1.063 GB, free: 0.9023 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/1.295, allocations: 124.3 kB / 1.063 GB, free: 0.7969 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/1.295, allocations: 27.12 kB / 1.063 GB, free: 0.7773 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.0004432/1.295, allocations: 165.2 kB / 1.063 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004046/1.296, allocations: 110.6 kB / 1.064 GB, free: 0.5234 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004637/1.296, allocations: 124.2 kB / 1.064 GB, free: 472 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/1.296, allocations: 8 kB / 1.064 GB, free: 464 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/1.296, allocations: 0 / 1.064 GB, free: 464 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/1.296, allocations: 3.984 kB / 1.064 GB, free: 460 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/1.299, allocations: 1.001 MB / 1.065 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/1.299, allocations: 4 kB / 1.065 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002361/1.301, allocations: 183.1 kB / 1.065 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-05/1.301, allocations: 4 kB / 1.065 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/1.302, allocations: 17.81 kB / 1.065 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.692e-05/1.302, allocations: 7.953 kB / 1.065 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.302, allocations: 0 / 1.065 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004071/1.306, allocations: 1.07 MB / 1.066 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005417/1.306, allocations: 193.9 kB / 1.066 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/1.307, allocations: 26.69 kB / 1.066 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/1.308, allocations: 82.94 kB / 1.066 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/1.308, allocations: 55.72 kB / 1.066 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/1.308, allocations: 23.92 kB / 1.066 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001723/1.31, allocations: 0.5906 MB / 1.067 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.12e-07/1.31, allocations: 0 / 1.067 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002132/1.312, allocations: 378.1 kB / 1.067 GB, free: 13.62 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004107/1.313, allocations: 140 kB / 1.067 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003685/1.316, allocations: 1.031 MB / 1.068 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/1.316, allocations: 0 / 1.068 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009781/1.317, allocations: 332.5 kB / 1.069 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/1.319, allocations: 236.8 kB / 1.069 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/1.323, allocations: 1.406 MB / 1.07 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/1.324, allocations: 1.111 MB / 1.071 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001527/1.326, allocations: 192.3 kB / 1.072 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/1.326, allocations: 67.42 kB / 1.072 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of SimCode: time 1.403e-06/1.326, allocations: 0 / 1.072 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of Templates: time 0.03987/1.366, allocations: 12.05 MB / 1.083 GB, free: 13.68 MB / 0.698 GB