Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.005813/0.00582, allocations: 231.2 kB / 15.82 MB, free: 6.293 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.001741/0.001741, allocations: 175.3 kB / 16.7 MB, free: 5.453 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 3.618/3.618, allocations: 389.1 MB / 406.5 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.269/4.269, allocations: 472.3 MB / 0.9024 GB, free: 183.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006541/0.0006544, allocations: 15.98 kB / 1.008 GB, free: 81.14 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6645/0.6652, allocations: 98.69 MB / 1.105 GB, free: 34.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2234/0.8886, allocations: 124.3 MB / 1.226 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.8889, allocations: 71.95 kB / 1.226 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003915/0.8929, allocations: 1.153 MB / 1.227 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8929, allocations: 0 / 1.227 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.8929, allocations: 4 kB / 1.227 GB, free: 2.887 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004351/0.8934, allocations: 379.7 kB / 1.228 GB, free: 2.473 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.8934, allocations: 9.344 kB / 1.228 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.8935, allocations: 15.77 kB / 1.228 GB, free: 2.449 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.8937, allocations: 180.1 kB / 1.228 GB, free: 2.234 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.8937, allocations: 8.625 kB / 1.228 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.8937, allocations: 4 kB / 1.228 GB, free: 2.223 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.8939, allocations: 96.91 kB / 1.228 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.894, allocations: 0 / 1.228 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.894, allocations: 8.594 kB / 1.228 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.894, allocations: 0 / 1.228 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.8941, allocations: 43.23 kB / 1.228 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007201/0.8949, allocations: 460.2 kB / 1.228 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.103e-05/0.895, allocations: 42.56 kB / 1.228 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.243e-05/0.895, allocations: 18.56 kB / 1.228 GB, free: 1.492 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.895, allocations: 4.203 kB / 1.228 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.8951, allocations: 34.75 kB / 1.228 GB, free: 1.449 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.734e-06/0.8951, allocations: 7.875 kB / 1.228 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002174/0.8953, allocations: 56.05 kB / 1.229 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.8954, allocations: 85.05 kB / 1.229 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.8956, allocations: 170.2 kB / 1.229 GB, free: 1.102 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.8956, allocations: 25.7 kB / 1.229 GB, free: 1.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.8957, allocations: 109.5 kB / 1.229 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.8957, allocations: 7.844 kB / 1.229 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.8957, allocations: 4 kB / 1.229 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.8959, allocations: 327.3 kB / 1.229 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.05e-05/0.8959, allocations: 4.938 kB / 1.229 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.107e-05/0.896, allocations: 19.38 kB / 1.229 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.037e-05/0.896, allocations: 8 kB / 1.229 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.896, allocations: 4 kB / 1.229 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001419/0.8962, allocations: 62.53 kB / 1.229 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.8962, allocations: 10.44 kB / 1.229 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.8962, allocations: 0.8125 kB / 1.229 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.8963, allocations: 0 / 1.229 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.986e-05/0.8964, allocations: 9.125 kB / 1.229 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.8964, allocations: 0 / 1.229 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.288e-05/0.8964, allocations: 3.906 kB / 1.229 GB, free: 0.4961 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.8965, allocations: 5.281 kB / 1.229 GB, free: 0.4922 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 9.577e-05/0.8966, allocations: 117.8 kB / 1.229 GB, free: 376 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.8966, allocations: 16.89 kB / 1.229 GB, free: 360 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.8967, allocations: 8.562 kB / 1.229 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.8967, allocations: 0.8125 kB / 1.229 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.8967, allocations: 0 / 1.229 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.8967, allocations: 4.062 kB / 1.229 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005683/0.8973, allocations: 482.8 kB / 1.23 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.8973, allocations: 0 / 1.23 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.8974, allocations: 4 kB / 1.23 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.8974, allocations: 3.938 kB / 1.23 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.8974, allocations: 1.438 kB / 1.23 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.8974, allocations: 1.562 kB / 1.23 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.8974, allocations: 5.75 kB / 1.23 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.8975, allocations: 83.66 kB / 1.23 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/0.8976, allocations: 99.28 kB / 1.23 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.8977, allocations: 0 / 1.23 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.873e-05/0.8977, allocations: 0 / 1.23 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.8977, allocations: 4 kB / 1.23 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.8977, allocations: 0 / 1.23 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001381/0.8979, allocations: 131.9 kB / 1.23 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.6e-07/0.8979, allocations: 0.5 kB / 1.23 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002454/0.8982, allocations: 14.34 kB / 1.23 GB, free: 15.45 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001362/0.8983, allocations: 114.6 kB / 1.23 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.8984, allocations: 19.98 kB / 1.23 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8984, allocations: 1.625 kB / 1.23 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.65e-05/0.8985, allocations: 7.938 kB / 1.23 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.8987, allocations: 8 kB / 1.23 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.8992, allocations: 193.7 kB / 1.231 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.8995, allocations: 0.7029 MB / 1.231 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.287e-05/0.8995, allocations: 9.578 kB / 1.231 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.8996, allocations: 11.44 kB / 1.231 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of SimCode: time 7.62e-07/0.8996, allocations: 0 / 1.231 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of Templates: time 0.003339/0.9029, allocations: 449 kB / 1.232 GB, free: 13.93 MB / 0.6355 GB