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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01657/0.01658, allocations: 108.5 kB / 15.06 MB, free: 5.555 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.00238/0.00238, allocations: 181.7 kB / 15.95 MB, free: 5.52 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.341/2.341, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.455/2.455, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004902, allocations: 20 kB / 0.5871 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.6711, allocations: 98.71 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.001793/0.673, allocations: 1.076 MB / 0.6845 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.000361/0.6734, allocations: 121.6 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.6735, allocations: 0 / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.6735, allocations: 0.6094 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.11e-05/0.6736, allocations: 5.781 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.6737, allocations: 7.516 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.973e-05/0.6738, allocations: 14.06 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.062e-05/0.6739, allocations: 8.047 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.506e-05/0.6739, allocations: 8.281 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.936e-05/0.674, allocations: 13.44 kB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.674, allocations: 1 kB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.6741, allocations: 1.188 kB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.6741, allocations: 1.812 kB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.6741, allocations: 27.62 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 6.263e-05/0.6742, allocations: 12.77 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6742, allocations: 4 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6742, allocations: 0 / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.6742, allocations: 0 / 0.6847 GB, free: 15.79 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.0004251/0.6747, allocations: 336.2 kB / 0.685 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.6747, allocations: 9.438 kB / 0.685 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.193e-05/0.6747, allocations: 36.55 kB / 0.6851 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.6748, allocations: 5.125 kB / 0.6851 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.301e-05/0.6749, allocations: 170.3 kB / 0.6852 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.6749, allocations: 4 kB / 0.6852 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.6749, allocations: 1.25 kB / 0.6853 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.6752, allocations: 60.7 kB / 0.6853 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6752, allocations: 0.875 kB / 0.6853 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.6752, allocations: 0.7031 kB / 0.6853 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.6752, allocations: 1 kB / 0.6853 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.6755, allocations: 46.41 kB / 0.6854 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.6759, allocations: 250.6 kB / 0.6856 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.6761, allocations: 44.22 kB / 0.6856 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.6761, allocations: 6.156 kB / 0.6856 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.6762, allocations: 30.56 kB / 0.6857 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.705e-06/0.6762, allocations: 3.938 kB / 0.6857 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.00055/0.6767, allocations: 100.2 kB / 0.6858 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.6768, allocations: 55.34 kB / 0.6858 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.812e-05/0.6769, allocations: 100.6 kB / 0.6859 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.6769, allocations: 27.02 kB / 0.6859 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.6769, allocations: 89.02 kB / 0.686 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.677, allocations: 6.141 kB / 0.686 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.677, allocations: 0 / 0.686 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.019e-05/0.6771, allocations: 316.9 kB / 0.6863 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.6772, allocations: 22.61 kB / 0.6864 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.6774, allocations: 19.52 kB / 0.6864 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.6775, allocations: 27.98 kB / 0.6864 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.6775, allocations: 0 / 0.6864 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003277/0.6779, allocations: 72 kB / 0.6865 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.6779, allocations: 6.734 kB / 0.6865 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6779, allocations: 4.031 kB / 0.6865 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.6779, allocations: 1.219 kB / 0.6865 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.6781, allocations: 14.41 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.6781, allocations: 5.422 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.469e-05/0.6782, allocations: 11.23 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.6782, allocations: 5.203 kB / 0.6865 GB, free: 14.06 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 7.056e-05/0.6783, allocations: 112.8 kB / 0.6866 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.6784, allocations: 9.766 kB / 0.6866 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000363/0.6787, allocations: 76.64 kB / 0.6867 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.6787, allocations: 0.8438 kB / 0.6867 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6788, allocations: 0 / 0.6867 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6788, allocations: 5.031 kB / 0.6867 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.679, allocations: 165 kB / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.679, allocations: 0 / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.6791, allocations: 9.984 kB / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6791, allocations: 1.281 kB / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.6791, allocations: 0.75 kB / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.6791, allocations: 4.906 kB / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6791, allocations: 0 / 0.6869 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.6795, allocations: 176.4 kB / 0.6871 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.6795, allocations: 79.03 kB / 0.6871 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.6796, allocations: 1.031 kB / 0.6871 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.6797, allocations: 16.81 kB / 0.6871 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.6798, allocations: 2.906 kB / 0.6872 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.6798, allocations: 4 kB / 0.6872 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.655e-05/0.6798, allocations: 80.56 kB / 0.6872 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6798, allocations: 0 / 0.6872 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002931/0.6801, allocations: 7.562 kB / 0.6872 GB, free: 13.37 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.000598/0.6807, allocations: 0.7159 MB / 0.6879 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003329/0.6811, allocations: 48.91 kB / 0.688 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6811, allocations: 0 / 0.688 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.6813, allocations: 25.28 kB / 0.688 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.6816, allocations: 3.469 kB / 0.688 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004877/0.6821, allocations: 141.9 kB / 0.6881 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.6822, allocations: 0.6784 MB / 0.6888 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.384e-05/0.6823, allocations: 1.188 kB / 0.6888 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.6823, allocations: 9.719 kB / 0.6888 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of SimCode: time 1.393e-06/0.6823, allocations: 0 / 0.6888 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.702, allocations: 0.997 MB / 0.6898 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002618/0.7024, allocations: 188.8 kB / 0.69 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/3.014, allocations: 4 kB / 0.69 GB, free: 11.39 MB / 0.5261 GB