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.To_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.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01567/0.01567, allocations: 109.9 kB / 15.05 MB, free: 5.965 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.001875/0.001875, allocations: 184.4 kB / 15.94 MB, free: 5.93 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 1.943/1.943, allocations: 194.5 MB / 211.2 MB, free: 11.09 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.229/2.229, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004699, allocations: 16 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6307/0.6312, allocations: 98.71 MB / 0.6833 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.184/0.8153, allocations: 124.3 MB / 0.8047 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002142/0.8155, allocations: 59.97 kB / 0.8048 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003695/0.8193, allocations: 1.162 MB / 0.8059 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.643e-06/0.8193, allocations: 0 / 0.8059 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.8193, allocations: 4 kB / 0.8059 GB, free: 0.6484 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.0004048/0.8197, allocations: 375 kB / 0.8063 GB, free: 240 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.8198, allocations: 8.031 kB / 0.8063 GB, free: 232 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.8198, allocations: 19.77 kB / 0.8063 GB, free: 212 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.82, allocations: 183.7 kB / 0.8065 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.8201, allocations: 4 kB / 0.8065 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.868e-05/0.8201, allocations: 8 kB / 0.8065 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.8203, allocations: 99.14 kB / 0.8066 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.925e-06/0.8203, allocations: 0 / 0.8066 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.8203, allocations: 0 / 0.8066 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.8203, allocations: 3.938 kB / 0.8066 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.8205, allocations: 47.97 kB / 0.8066 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007014/0.8212, allocations: 452.6 kB / 0.8071 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.866e-05/0.8213, allocations: 41.2 kB / 0.8071 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.014e-06/0.8213, allocations: 3.938 kB / 0.8071 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.8213, allocations: 38.81 kB / 0.8072 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.346e-06/0.8214, allocations: 64 / 0.8072 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002208/0.8216, allocations: 61.45 kB / 0.8072 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.8217, allocations: 85.05 kB / 0.8073 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.8219, allocations: 153.8 kB / 0.8074 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.8219, allocations: 25.7 kB / 0.8075 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.822, allocations: 104.3 kB / 0.8076 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.822, allocations: 15.84 kB / 0.8076 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-06/0.822, allocations: 0 / 0.8076 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.8222, allocations: 322.8 kB / 0.8079 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.032e-05/0.8222, allocations: 8 kB / 0.8079 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.696e-05/0.8223, allocations: 17.7 kB / 0.8079 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.8223, allocations: 15.95 kB / 0.8079 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.8223, allocations: 0 / 0.8079 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001359/0.8225, allocations: 65.55 kB / 0.808 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.8225, allocations: 4 kB / 0.808 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.8225, allocations: 0 / 0.808 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.8225, allocations: 0 / 0.808 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.192e-05/0.8226, allocations: 15.98 kB / 0.808 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.648e-06/0.8227, allocations: 0 / 0.808 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.514e-05/0.8227, allocations: 7.906 kB / 0.808 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.8227, allocations: 0 / 0.808 GB, free: 14.26 MB / 0.6355 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 0.0001063/0.8228, allocations: 117.9 kB / 0.8081 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.8229, allocations: 11.91 kB / 0.8081 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.384e-05/0.823, allocations: 16.55 kB / 0.8082 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.463e-06/0.823, allocations: 0 / 0.8082 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.04e-06/0.823, allocations: 0 / 0.8082 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.954e-06/0.823, allocations: 0 / 0.8082 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/0.8235, allocations: 474.8 kB / 0.8086 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-06/0.8236, allocations: 0 / 0.8086 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.704e-05/0.8236, allocations: 15.98 kB / 0.8086 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.8236, allocations: 0 / 0.8086 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.737e-06/0.8236, allocations: 4 kB / 0.8086 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.357e-06/0.8237, allocations: 4 kB / 0.8086 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.676e-06/0.8237, allocations: 0 / 0.8086 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.8238, allocations: 93.94 kB / 0.8087 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-05/0.8239, allocations: 96.91 kB / 0.8088 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.8239, allocations: 3.938 kB / 0.8088 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.418e-05/0.824, allocations: 4 kB / 0.8088 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.824, allocations: 0 / 0.8088 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-06/0.824, allocations: 0 / 0.8088 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001344/0.8242, allocations: 135.9 kB / 0.8089 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.28e-07/0.8242, allocations: 0 / 0.8089 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002573/0.8244, allocations: 11.95 kB / 0.809 GB, free: 13.18 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.0001315/0.8246, allocations: 111.2 kB / 0.8091 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.199e-05/0.8247, allocations: 16 kB / 0.8091 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.8247, allocations: 0 / 0.8091 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.582e-05/0.8247, allocations: 11.94 kB / 0.8091 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.8249, allocations: 9.25 kB / 0.8091 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.8253, allocations: 190.2 kB / 0.8093 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.8257, allocations: 0.7004 MB / 0.81 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.918e-05/0.8257, allocations: 12.42 kB / 0.81 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.8258, allocations: 11.44 kB / 0.81 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of SimCode: time 1.318e-06/0.8258, allocations: 0 / 0.81 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of Templates: time 0.003015/0.8288, allocations: 452.5 kB / 0.8104 GB, free: 11.61 MB / 0.6355 GB