Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.874/4.874, allocations: 0.5623 GB / 0.5775 GB, free: 3.367 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.002532/0.002532, allocations: 355.6 kB / 0.6447 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.439/4.439, allocations: 410.7 MB / 1.113 GB, free: 6.004 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.002651/0.002651, allocations: 180.9 kB / 1.226 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.0004801, allocations: 19.98 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7325/0.733, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1964/0.9294, allocations: 137.4 MB / 1.596 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.9297, allocations: 73.08 kB / 1.596 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.002164/0.9319, allocations: 0.6638 MB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9319, allocations: 0 / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.932, allocations: 0.625 kB / 1.596 GB, free: 146.1 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003705/0.9323, allocations: 325 kB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.9324, allocations: 16.67 kB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.047e-05/0.9324, allocations: 7.906 kB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.204e-05/0.9325, allocations: 171 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.9326, allocations: 1.312 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.9326, allocations: 4 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.9328, allocations: 59.11 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.9328, allocations: 1.078 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.9329, allocations: 1.906 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.9329, allocations: 0 / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002753/0.9332, allocations: 44.83 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.9335, allocations: 255 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.9337, allocations: 40.69 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.9338, allocations: 35.27 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.9339, allocations: 0 / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.9339, allocations: 30.56 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.9339, allocations: 4 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0005178/0.9344, allocations: 102.8 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.9345, allocations: 51.41 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.504e-05/0.9345, allocations: 102.4 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.9346, allocations: 26.95 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.9346, allocations: 84.14 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.9347, allocations: 7.891 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.9347, allocations: 0.6562 kB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.524e-05/0.9348, allocations: 321.4 kB / 1.598 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.9349, allocations: 19.98 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.935, allocations: 21.55 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.9352, allocations: 20.7 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9352, allocations: 4.516 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003143/0.9355, allocations: 71.89 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.9356, allocations: 5.094 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.9356, allocations: 3.938 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.9356, allocations: 0.5 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.9358, allocations: 20.95 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.9358, allocations: 0 / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.691e-05/0.9359, allocations: 13.14 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.9359, allocations: 7.922 kB / 1.598 GB, free: 144.1 MB / 0.8542 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 () * Number of clocked 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 6.226e-05/0.936, allocations: 116 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.936, allocations: 0 / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.9364, allocations: 83.19 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.9364, allocations: 0 / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.9364, allocations: 0 / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.9364, allocations: 2.875 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.9366, allocations: 161.6 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.9366, allocations: 4 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.9367, allocations: 13.02 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.9367, allocations: 0 / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.9367, allocations: 0 / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.9367, allocations: 0.5312 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.9367, allocations: 1.438 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.9371, allocations: 181 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.123e-05/0.9371, allocations: 81.11 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.9371, allocations: 0 / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.9373, allocations: 9.328 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.9373, allocations: 4 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.9374, allocations: 4.5 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.927e-05/0.9374, allocations: 81.19 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.8e-07/0.9374, allocations: 0.7812 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002591/0.9377, allocations: 8 kB / 1.599 GB, free: 143.3 MB / 0.8542 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 () * Number of clocked 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.0001216/0.9378, allocations: 105 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003229/0.9381, allocations: 50.09 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9382, allocations: 0 / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.9383, allocations: 21.95 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.9387, allocations: 13 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002887/0.939, allocations: 109.5 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.9391, allocations: 0.6819 MB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.069e-05/0.9392, allocations: 0 / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.9392, allocations: 14.42 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.022e-06/0.9392, allocations: 0 / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.002584/0.9418, allocations: 346.2 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB