Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.203/5.203, allocations: 0.5623 GB / 0.5775 GB, free: 3.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00251/0.002509, allocations: 361.5 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.171/4.171, allocations: 410.7 MB / 1.113 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00178/0.00178, allocations: 177.1 kB / 1.226 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005109/0.0005112, allocations: 20 kB / 1.349 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7283/0.7288, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2045/0.9334, allocations: 138.8 MB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.9337, allocations: 77.11 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02389/0.9576, allocations: 6.411 MB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9577, allocations: 1.25 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.797e-05/0.9577, allocations: 12 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001443/0.9592, allocations: 0.688 MB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.9592, allocations: 19.55 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.9594, allocations: 55.34 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007145/0.9601, allocations: 360.8 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.9602, allocations: 35.08 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-05/0.9602, allocations: 36 kB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009615/0.9612, allocations: 406 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.9613, allocations: 4 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.9613, allocations: 12 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.9613, allocations: 12.7 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008999/0.9623, allocations: 292 kB / 1.605 GB, free: 137 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.965, allocations: 1.295 MB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.9662, allocations: 294 kB / 1.607 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003952/0.9666, allocations: 143.4 kB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.9667, allocations: 0 / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005123/0.9672, allocations: 190.2 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=25): time 2.304e-06/0.9672, allocations: 0.5938 kB / 1.607 GB, free: 135 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25): time 0.001321/0.9685, allocations: 375.8 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.9687, allocations: 137.2 kB / 1.607 GB, free: 134.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006165/0.9693, allocations: 398.7 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.587e-05/0.9694, allocations: 33.7 kB / 1.608 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.9695, allocations: 228.2 kB / 1.608 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.458e-05/0.9696, allocations: 87.86 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.9697, allocations: 4 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.9698, allocations: 355.3 kB / 1.609 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.9702, allocations: 106.5 kB / 1.609 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.9706, allocations: 183 kB / 1.609 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/0.971, allocations: 125.8 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.971, allocations: 0 / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001027/0.9721, allocations: 348.5 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.41e-05/0.9722, allocations: 132.6 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.9722, allocations: 0.8125 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.9722, allocations: 4 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.9727, allocations: 65.94 kB / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.9728, allocations: 0 / 1.609 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.9732, allocations: 65.38 kB / 1.609 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.9732, allocations: 12 kB / 1.609 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.9733, allocations: 8.531 kB / 1.61 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000499/0.9738, allocations: 224.9 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.9738, allocations: 0 / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.9738, allocations: 6.531 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.9742, allocations: 53.47 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.9742, allocations: 7.938 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.9745, allocations: 36.72 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.9745, allocations: 15.98 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0002913/0.9748, allocations: 238.7 kB / 1.61 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-05/0.9749, allocations: 39.44 kB / 1.61 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.975, allocations: 43.27 kB / 1.61 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.9751, allocations: 4 kB / 1.61 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.9751, allocations: 0.6562 kB / 1.61 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.9751, allocations: 3.984 kB / 1.61 GB, free: 131.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.9769, allocations: 0.952 MB / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.977, allocations: 2 kB / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.9774, allocations: 51.91 kB / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.9774, allocations: 4 kB / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.9775, allocations: 12.64 kB / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.9775, allocations: 4 kB / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.9775, allocations: 9.031 kB / 1.611 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.9788, allocations: 0.6248 MB / 1.612 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.9789, allocations: 128.5 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/0.979, allocations: 12.58 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.9794, allocations: 25.77 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.9795, allocations: 16.91 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.9795, allocations: 13.28 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004173/0.9799, allocations: 287.2 kB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.51e-07/0.98, allocations: 0 / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007008/0.9807, allocations: 121 kB / 1.612 GB, free: 129.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (limPI.I.y,limPID.I.y,limPID.D.x) * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0001913/0.9809, allocations: 128.9 kB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.982, allocations: 388 kB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.982, allocations: 2.062 kB / 1.613 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.9824, allocations: 129.4 kB / 1.613 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009193/0.9833, allocations: 77.31 kB / 1.613 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.9853, allocations: 0.8578 MB / 1.614 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.9857, allocations: 0.816 MB / 1.615 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003048/0.986, allocations: 44.73 kB / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.9861, allocations: 35.42 kB / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.132e-06/0.9861, allocations: 0 / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.01053/0.9967, allocations: 3.206 MB / 1.618 GB, free: 123.8 MB / 0.8542 GB