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.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.382/2.382, allocations: 252.6 MB / 265.2 MB, free: 5.742 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.001455/0.001455, allocations: 175.9 kB / 324.5 MB, free: 14.41 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.318/2.318, allocations: 205.4 MB / 0.5753 GB, free: 10.5 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.00111/0.00111, allocations: 98.62 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.557e-05/3.566e-05, allocations: 11.94 kB / 0.7912 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1959, allocations: 106.2 MB / 0.8949 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9644/1.16, allocations: 134.3 MB / 1.026 GB, free: 308 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/1.161, allocations: 80.95 kB / 1.026 GB, free: 264 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.07708/1.238, allocations: 18.51 MB / 1.044 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.114e-06/1.238, allocations: 4 kB / 1.044 GB, free: 0.5898 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001268/1.238, allocations: 24 kB / 1.044 GB, free: 0.5664 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.02221/1.26, allocations: 1.127 MB / 1.045 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.69e-05/1.26, allocations: 8.031 kB / 1.045 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007789/1.261, allocations: 130.4 kB / 1.046 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002723/1.264, allocations: 0.647 MB / 1.046 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/1.264, allocations: 76.12 kB / 1.046 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003362/1.264, allocations: 98.75 kB / 1.046 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003412/1.268, allocations: 0.9007 MB / 1.047 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.871e-05/1.268, allocations: 7.938 kB / 1.047 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/1.268, allocations: 40.06 kB / 1.047 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.64e-05/1.268, allocations: 24 kB / 1.047 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00759/1.276, allocations: 0.59 MB / 1.048 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01896/1.295, allocations: 3.416 MB / 1.051 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/1.297, allocations: 0.6298 MB / 1.052 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/1.298, allocations: 356.1 kB / 1.052 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.213e-05/1.298, allocations: 9 kB / 1.052 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/1.3, allocations: 313.4 kB / 1.052 GB, free: 9.855 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 7.654e-06/1.3, allocations: 11.86 kB / 1.052 GB, free: 9.844 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.004424/1.304, allocations: 0.5578 MB / 1.053 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/1.304, allocations: 166.1 kB / 1.053 GB, free: 9.23 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/1.306, allocations: 0.5854 MB / 1.054 GB, free: 8.777 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001932/1.306, allocations: 42.33 kB / 1.054 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004768/1.306, allocations: 469.5 kB / 1.054 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/1.307, allocations: 265.3 kB / 1.054 GB, free: 8.211 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/1.307, allocations: 14.31 kB / 1.054 GB, free: 8.207 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001728/1.307, allocations: 342.6 kB / 1.055 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/1.308, allocations: 197.9 kB / 1.055 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007282/1.308, allocations: 328.5 kB / 1.055 GB, free: 7.504 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00065/1.309, allocations: 237.5 kB / 1.056 GB, free: 7.355 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.309, allocations: 0 / 1.056 GB, free: 7.355 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001773/1.311, allocations: 0.66 MB / 1.056 GB, free: 6.859 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000234/1.311, allocations: 454.2 kB / 1.057 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/1.311, allocations: 0 / 1.057 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/1.311, allocations: 4 kB / 1.057 GB, free: 6.391 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/1.312, allocations: 167.7 kB / 1.057 GB, free: 6.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/1.312, allocations: 12.05 kB / 1.057 GB, free: 6.219 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008523/1.313, allocations: 112.5 kB / 1.057 GB, free: 6.121 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-05/1.313, allocations: 23 kB / 1.057 GB, free: 6.105 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/1.313, allocations: 4 kB / 1.057 GB, free: 6.102 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001367/1.315, allocations: 0.5354 MB / 1.057 GB, free: 5.746 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.315, allocations: 0 / 1.057 GB, free: 5.746 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/1.315, allocations: 4 kB / 1.057 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/1.316, allocations: 143.4 kB / 1.058 GB, free: 5.605 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/1.316, allocations: 4 kB / 1.058 GB, free: 5.602 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006856/1.317, allocations: 89.7 kB / 1.058 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/1.317, allocations: 19.69 kB / 1.058 GB, free: 5.512 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: 6 ($whenCondition1,greEquThr.y,intWitRes4.trigger_internal,intWitRes3.trigger_internal,intWitRes2.trigger_internal,intWitRes1.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 94 * 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.0003034/1.317, allocations: 156.6 kB / 1.058 GB, free: 5.379 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/1.317, allocations: 86.97 kB / 1.058 GB, free: 5.293 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/1.318, allocations: 94.09 kB / 1.058 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/1.318, allocations: 15.98 kB / 1.058 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/1.318, allocations: 0 / 1.058 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.006e-06/1.318, allocations: 0 / 1.058 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00344/1.321, allocations: 1.596 MB / 1.06 GB, free: 4.051 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/1.321, allocations: 3.938 kB / 1.06 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/1.322, allocations: 150.2 kB / 1.06 GB, free: 3.906 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.521e-05/1.322, allocations: 4 kB / 1.06 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.757e-05/1.323, allocations: 17.86 kB / 1.06 GB, free: 3.895 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/1.323, allocations: 0 / 1.06 GB, free: 3.895 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.279e-06/1.323, allocations: 4 kB / 1.06 GB, free: 3.891 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/1.325, allocations: 0.9732 MB / 1.061 GB, free: 3.188 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/1.325, allocations: 172.5 kB / 1.061 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/1.325, allocations: 14.69 kB / 1.061 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007135/1.326, allocations: 52.84 kB / 1.061 GB, free: 2.961 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/1.326, allocations: 43.41 kB / 1.061 GB, free: 2.926 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-05/1.326, allocations: 19.55 kB / 1.061 GB, free: 2.91 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009433/1.327, allocations: 466.1 kB / 1.061 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.41e-07/1.327, allocations: 0 / 1.061 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001178/1.328, allocations: 343.7 kB / 1.062 GB, free: 2.27 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (greEquThr.y,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.0002839/1.329, allocations: 129.7 kB / 1.062 GB, free: 2.141 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002219/1.331, allocations: 0.8637 MB / 1.063 GB, free: 1.539 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.331, allocations: 0.5 kB / 1.063 GB, free: 1.539 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006599/1.332, allocations: 290.9 kB / 1.063 GB, free: 1.34 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/1.333, allocations: 190.4 kB / 1.063 GB, free: 1.207 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/1.337, allocations: 1.27 MB / 1.064 GB, free: 76 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008843/1.338, allocations: 1.043 MB / 1.065 GB, free: 15 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001038/1.339, allocations: 146.3 kB / 1.066 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/1.339, allocations: 55.36 kB / 1.066 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.392e-06/1.339, allocations: 4 kB / 1.066 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.03025/1.369, allocations: 9.198 MB / 1.075 GB, free: 5.684 MB / 0.6823 GB