Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009928/0.009927, allocations: 110 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001143/0.001143, allocations: 177 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.164/2.164, allocations: 194.6 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.307/2.307, allocations: 236.2 MB / 492.6 MB, free: 11.26 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004848, allocations: 12 kB / 0.587 GB, free: 2.113 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5517/0.5522, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001427/0.5536, allocations: 1.076 MB / 0.6844 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003141/0.554, allocations: 119.8 kB / 0.6845 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.554, allocations: 1.406 kB / 0.6845 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.5541, allocations: 0.5156 kB / 0.6845 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.516e-05/0.5541, allocations: 1.406 kB / 0.6845 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.5542, allocations: 11.78 kB / 0.6845 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.097e-05/0.5543, allocations: 17.44 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.22e-05/0.5544, allocations: 3.766 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.36e-05/0.5544, allocations: 9.828 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.39e-05/0.5545, allocations: 13.41 kB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.5545, allocations: 0 / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-06/0.5545, allocations: 1.188 kB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.5546, allocations: 1.719 kB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.5546, allocations: 27.23 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 5.403e-05/0.5547, allocations: 15.16 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.717e-06/0.5547, allocations: 1.406 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.615e-06/0.5547, allocations: 4.656 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.684e-06/0.5547, allocations: 0 / 0.6846 GB, free: 15.84 MB / 0.5261 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.0003396/0.555, allocations: 330.2 kB / 0.6849 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.5551, allocations: 9.094 kB / 0.685 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.5551, allocations: 1.984 kB / 0.685 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.042e-05/0.5552, allocations: 171.8 kB / 0.6851 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.5552, allocations: 0 / 0.6851 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.5553, allocations: 9.125 kB / 0.6851 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.5555, allocations: 54.36 kB / 0.6852 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.563e-06/0.5555, allocations: 0 / 0.6852 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.5555, allocations: 7.938 kB / 0.6852 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.904e-06/0.5555, allocations: 1 kB / 0.6852 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.5557, allocations: 45.95 kB / 0.6852 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.556, allocations: 247 kB / 0.6855 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.5562, allocations: 49.84 kB / 0.6855 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.5562, allocations: 0 / 0.6855 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.5562, allocations: 32.08 kB / 0.6855 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.681e-06/0.5562, allocations: 0 / 0.6855 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0004266/0.5567, allocations: 94.17 kB / 0.6856 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.5567, allocations: 57.31 kB / 0.6857 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.019e-05/0.5568, allocations: 100.9 kB / 0.6858 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.601e-06/0.5568, allocations: 25.7 kB / 0.6858 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.204e-05/0.5569, allocations: 90.45 kB / 0.6859 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.5569, allocations: 5.031 kB / 0.6859 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-06/0.5569, allocations: 4.125 kB / 0.6859 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.252e-05/0.557, allocations: 313.7 kB / 0.6862 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.5571, allocations: 26.12 kB / 0.6862 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.519e-05/0.5572, allocations: 20.77 kB / 0.6863 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.5573, allocations: 26.19 kB / 0.6863 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.491e-06/0.5573, allocations: 0 / 0.6863 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002488/0.5576, allocations: 73.61 kB / 0.6863 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.5576, allocations: 10.34 kB / 0.6864 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.438e-06/0.5576, allocations: 0 / 0.6864 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.5576, allocations: 0.9375 kB / 0.6864 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.5577, allocations: 11.3 kB / 0.6864 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.358e-06/0.5578, allocations: 1 kB / 0.6864 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.5578, allocations: 8.906 kB / 0.6864 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.5579, allocations: 3.953 kB / 0.6864 GB, free: 14.18 MB / 0.5261 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 5.823e-05/0.5579, allocations: 117.2 kB / 0.6865 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.558, allocations: 5.25 kB / 0.6865 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.5583, allocations: 84.3 kB / 0.6866 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.364e-06/0.5583, allocations: 2.281 kB / 0.6866 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.647e-06/0.5583, allocations: 4.031 kB / 0.6866 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.331e-06/0.5583, allocations: 0 / 0.6866 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.5585, allocations: 168.4 kB / 0.6867 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.392e-06/0.5585, allocations: 0 / 0.6867 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.223e-05/0.5586, allocations: 15.17 kB / 0.6868 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.278e-06/0.5586, allocations: 0 / 0.6868 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.054e-06/0.5586, allocations: 1.641 kB / 0.6868 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.186e-06/0.5586, allocations: 0 / 0.6868 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.5586, allocations: 4.516 kB / 0.6868 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.5589, allocations: 180.6 kB / 0.6869 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.5589, allocations: 79.64 kB / 0.687 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.559, allocations: 0 / 0.687 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.5591, allocations: 13.31 kB / 0.687 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.5591, allocations: 2.812 kB / 0.687 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.5591, allocations: 0 / 0.687 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.105e-05/0.5592, allocations: 83.56 kB / 0.6871 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.91e-07/0.5592, allocations: 1.531 kB / 0.6871 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002885/0.5595, allocations: 2.656 kB / 0.6871 GB, free: 13.47 MB / 0.5261 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.5596, allocations: 105 kB / 0.6872 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.5599, allocations: 45.09 kB / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.782e-06/0.5599, allocations: 0 / 0.6873 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.56, allocations: 34.31 kB / 0.6873 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.5603, allocations: 6.812 kB / 0.6873 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002646/0.5606, allocations: 106.9 kB / 0.6874 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.5607, allocations: 0.6788 MB / 0.6881 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.647e-05/0.5607, allocations: 0 / 0.6881 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.5608, allocations: 12.56 kB / 0.6881 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of SimCode: time 1.383e-06/0.5608, allocations: 0.9688 kB / 0.6881 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.002522/0.5633, allocations: 348 kB / 0.6884 GB, free: 12.49 MB / 0.5261 GB