Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.PIDInitialDerivativeOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.99/4.99, allocations: 0.5623 GB / 0.5775 GB, free: 3.336 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.002607/0.002606, allocations: 359.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.265/4.265, allocations: 410.7 MB / 1.113 GB, free: 5.891 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.001805/0.001805, allocations: 182.9 kB / 1.226 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005139/0.0005144, allocations: 16 kB / 1.349 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7354/0.736, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1999/0.9359, allocations: 138.8 MB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.9362, allocations: 83.28 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02471/0.9609, allocations: 6.534 MB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.883e-06/0.961, allocations: 0 / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.855e-05/0.961, allocations: 9.062 kB / 1.603 GB, free: 138.8 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001486/0.9625, allocations: 0.679 MB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.9626, allocations: 13.41 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.9627, allocations: 47.44 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008511/0.9636, allocations: 376.1 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.171e-05/0.9636, allocations: 25.59 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-05/0.9637, allocations: 35.91 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008952/0.9646, allocations: 367.6 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.9646, allocations: 4 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-05/0.9647, allocations: 13.17 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.9647, allocations: 8 kB / 1.605 GB, free: 137.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008237/0.9656, allocations: 268.5 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.9679, allocations: 1.211 MB / 1.606 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.969, allocations: 284.8 kB / 1.607 GB, free: 135.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003697/0.9693, allocations: 121.2 kB / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.9694, allocations: 6.938 kB / 1.607 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004616/0.9699, allocations: 177.3 kB / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 2.585e-06/0.9699, allocations: 0 / 1.607 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22): time 0.001186/0.9711, allocations: 332.6 kB / 1.607 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.9712, allocations: 137.7 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005206/0.9717, allocations: 385.6 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.9717, allocations: 31.17 kB / 1.608 GB, free: 134.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.9719, allocations: 220.3 kB / 1.608 GB, free: 134 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.972, allocations: 78.91 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.972, allocations: 4 kB / 1.608 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.9721, allocations: 352 kB / 1.608 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.9725, allocations: 102.2 kB / 1.608 GB, free: 133.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.9729, allocations: 176.5 kB / 1.609 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/0.9733, allocations: 123.4 kB / 1.609 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.9733, allocations: 0.5312 kB / 1.609 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000938/0.9743, allocations: 328.5 kB / 1.609 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.74e-05/0.9743, allocations: 128.2 kB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.9744, allocations: 0 / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.26e-05/0.9744, allocations: 4 kB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.9749, allocations: 56.66 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.9749, allocations: 9.031 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.9753, allocations: 53.47 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.9754, allocations: 15.94 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.9754, allocations: 7.953 kB / 1.609 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004712/0.9759, allocations: 203.3 kB / 1.609 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.9759, allocations: 5.625 kB / 1.61 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.611e-06/0.9759, allocations: 4 kB / 1.61 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.9763, allocations: 43.98 kB / 1.61 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.9763, allocations: 7.938 kB / 1.61 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.9766, allocations: 45.61 kB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.9766, allocations: 8 kB / 1.61 GB, free: 132.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0002699/0.9769, allocations: 230.1 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.977, allocations: 39.52 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.873e-05/0.9771, allocations: 39.17 kB / 1.61 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.9771, allocations: 5.188 kB / 1.61 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.9771, allocations: 3.984 kB / 1.61 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.9771, allocations: 0 / 1.61 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.979, allocations: 0.9139 MB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.9791, allocations: 0.5625 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/0.9795, allocations: 49.09 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.9795, allocations: 8.594 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.9796, allocations: 8 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.9796, allocations: 4.562 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.9796, allocations: 4 kB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/0.9808, allocations: 0.5962 MB / 1.611 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.943e-05/0.9809, allocations: 120.6 kB / 1.612 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.842e-05/0.981, allocations: 10.62 kB / 1.612 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003804/0.9814, allocations: 24.08 kB / 1.612 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.9814, allocations: 22.28 kB / 1.612 GB, free: 130 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/0.9815, allocations: 15.98 kB / 1.612 GB, free: 130 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003916/0.9819, allocations: 267.2 kB / 1.612 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9819, allocations: 0 / 1.612 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006904/0.9826, allocations: 115.6 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.0001798/0.9828, allocations: 121.5 kB / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.9839, allocations: 367.8 kB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.9839, allocations: 2.438 kB / 1.612 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.9842, allocations: 109.7 kB / 1.613 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008631/0.9851, allocations: 73.67 kB / 1.613 GB, free: 129 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.9871, allocations: 0.8245 MB / 1.613 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.9874, allocations: 0.8005 MB / 1.614 GB, free: 127.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003069/0.9877, allocations: 48.55 kB / 1.614 GB, free: 127.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.9878, allocations: 36.05 kB / 1.614 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.302e-06/0.9878, allocations: 1.156 kB / 1.614 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.01005/0.9979, allocations: 3.102 MB / 1.617 GB, free: 124.3 MB / 0.8542 GB