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.Product.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.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01452/0.01452, allocations: 109 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.001141/0.001141, allocations: 180.3 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.086/2.086, allocations: 194.6 MB / 211.3 MB, free: 11.16 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.188/2.188, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004663, allocations: 16 kB / 0.587 GB, free: 2.133 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5857/0.5862, 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.Product): time 0.001383/0.5876, allocations: 1.115 MB / 0.6845 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0002685/0.5879, allocations: 114 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.875e-05/0.5879, allocations: 1.5 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.758e-05/0.588, allocations: 8.734 kB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.075e-05/0.588, allocations: 5.859 kB / 0.6846 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 4.678e-05/0.5881, allocations: 8.797 kB / 0.6846 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.838e-05/0.5882, allocations: 23.69 kB / 0.6846 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.898e-05/0.5883, allocations: 9.922 kB / 0.6846 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.912e-05/0.5883, allocations: 17.41 kB / 0.6846 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.497e-05/0.5884, allocations: 17.19 kB / 0.6846 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.5884, allocations: 2.188 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 9.426e-06/0.5884, allocations: 6.25 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.5885, allocations: 6.453 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.774e-05/0.5885, allocations: 31.64 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 6.347e-05/0.5886, allocations: 25.86 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.408e-06/0.5886, allocations: 0 / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.093e-06/0.5886, allocations: 1.281 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.494e-06/0.5886, allocations: 0 / 0.6847 GB, free: 15.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000414/0.589, allocations: 369.8 kB / 0.6851 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.5891, allocations: 9.75 kB / 0.6851 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.5891, allocations: 1.438 kB / 0.6851 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.96e-05/0.5892, allocations: 174.2 kB / 0.6852 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.5892, allocations: 2.438 kB / 0.6853 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.5892, allocations: 1.281 kB / 0.6853 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.5895, allocations: 82.02 kB / 0.6853 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.443e-06/0.5895, allocations: 3.938 kB / 0.6853 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.5896, allocations: 0 / 0.6853 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.914e-06/0.5896, allocations: 5.156 kB / 0.6853 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003541/0.5899, allocations: 90.23 kB / 0.6854 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.5903, allocations: 270.2 kB / 0.6857 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.5905, allocations: 61.19 kB / 0.6857 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.5905, allocations: 0 / 0.6857 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.5906, allocations: 40.77 kB / 0.6858 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.804e-06/0.5906, allocations: 0 / 0.6858 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0006357/0.5912, allocations: 161.5 kB / 0.6859 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.5913, allocations: 51.41 kB / 0.686 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/0.5913, allocations: 116 kB / 0.6861 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.5914, allocations: 25.7 kB / 0.6861 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.5914, allocations: 92.03 kB / 0.6862 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.5914, allocations: 8.547 kB / 0.6862 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-06/0.5915, allocations: 1.438 kB / 0.6862 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.5915, allocations: 317.5 kB / 0.6865 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.5917, allocations: 44.42 kB / 0.6866 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.5919, allocations: 40.88 kB / 0.6866 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.5921, allocations: 44.02 kB / 0.6866 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5921, allocations: 0 / 0.6866 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004014/0.5925, allocations: 121.7 kB / 0.6868 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.5925, allocations: 5.938 kB / 0.6868 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.827e-06/0.5926, allocations: 4 kB / 0.6868 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.5926, allocations: 1.375 kB / 0.6868 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.5927, allocations: 23.84 kB / 0.6868 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.5928, allocations: 1.281 kB / 0.6868 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.836e-05/0.5929, allocations: 23.81 kB / 0.6868 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.5929, allocations: 1.406 kB / 0.6868 GB, free: 14 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 (3): * Single equations (assignments): 3 * 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.001e-05/0.593, allocations: 111.7 kB / 0.6869 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.593, allocations: 3.406 kB / 0.6869 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.593, allocations: 9.547 kB / 0.6869 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.5931, allocations: 336 / 0.6869 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.462e-06/0.5931, allocations: 2.281 kB / 0.6869 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.234e-06/0.5931, allocations: 0 / 0.6869 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.5933, allocations: 170.9 kB / 0.6871 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5933, allocations: 4.547 kB / 0.6871 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.5934, allocations: 23.09 kB / 0.6871 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.131e-06/0.5934, allocations: 0.9688 kB / 0.6871 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.5934, allocations: 10.03 kB / 0.6871 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.231e-06/0.5935, allocations: 0 / 0.6871 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5935, allocations: 320 / 0.6871 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004197/0.5939, allocations: 220.8 kB / 0.6873 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.5939, allocations: 79.09 kB / 0.6874 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.594, allocations: 6.047 kB / 0.6874 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.5941, allocations: 16.22 kB / 0.6874 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.5942, allocations: 7.453 kB / 0.6875 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.884e-06/0.5942, allocations: 1.531 kB / 0.6875 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.064e-05/0.5942, allocations: 92.39 kB / 0.6875 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.29e-07/0.5942, allocations: 0 / 0.6875 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00029/0.5945, allocations: 5.844 kB / 0.6875 GB, free: 13.32 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 (3): * Single equations (assignments): 3 * 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.0001111/0.5947, allocations: 105.1 kB / 0.6876 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004096/0.5951, allocations: 94.77 kB / 0.6877 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.34e-06/0.5951, allocations: 4 kB / 0.6877 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.5953, allocations: 44 kB / 0.6878 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.5955, allocations: 9.266 kB / 0.6878 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.5959, allocations: 133.8 kB / 0.6879 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.596, allocations: 0.6842 MB / 0.6886 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.829e-05/0.596, allocations: 1.641 kB / 0.6886 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.5961, allocations: 8.625 kB / 0.6886 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of SimCode: time 1.839e-06/0.5961, allocations: 0 / 0.6886 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of Templates: time 0.002859/0.599, allocations: 0.5214 MB / 0.6891 GB, free: 12.31 MB / 0.5261 GB