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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",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.01067/0.01067, allocations: 107.9 kB / 15.05 MB, free: 5.988 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.001154/0.001154, allocations: 178.8 kB / 15.94 MB, free: 5.941 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.985/1.985, allocations: 194.6 MB / 211.3 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.292/2.292, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004758, allocations: 12 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6504/0.6509, allocations: 98.71 MB / 0.6834 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2581/0.9091, allocations: 124.3 MB / 0.8048 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.9094, allocations: 71.95 kB / 0.8049 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.00407/0.9135, allocations: 1.151 MB / 0.806 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9136, allocations: 0 / 0.806 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.9136, allocations: 4 kB / 0.806 GB, free: 0.6523 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.0004784/0.9141, allocations: 379 kB / 0.8064 GB, free: 240 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.9141, allocations: 8.031 kB / 0.8064 GB, free: 232 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.946e-05/0.9142, allocations: 42.55 kB / 0.8064 GB, free: 180 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.9143, allocations: 15.77 kB / 0.8064 GB, free: 164 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.9145, allocations: 178.9 kB / 0.8066 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.9145, allocations: 4 kB / 0.8066 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.9145, allocations: 8 kB / 0.8066 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.9147, allocations: 96.53 kB / 0.8067 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.9148, allocations: 4 kB / 0.8067 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.9148, allocations: 4 kB / 0.8067 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.9148, allocations: 4.219 kB / 0.8067 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.9149, allocations: 39.92 kB / 0.8068 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007569/0.9157, allocations: 456.5 kB / 0.8072 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.671e-05/0.9158, allocations: 41.28 kB / 0.8072 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.9158, allocations: 4.125 kB / 0.8072 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.9159, allocations: 38.55 kB / 0.8073 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.104e-06/0.9159, allocations: 3.938 kB / 0.8073 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002329/0.9161, allocations: 61.45 kB / 0.8073 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.9162, allocations: 77.11 kB / 0.8074 GB, free: 15 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.9164, allocations: 156.1 kB / 0.8076 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.9165, allocations: 25.7 kB / 0.8076 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.9165, allocations: 108 kB / 0.8077 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.9166, allocations: 11.84 kB / 0.8077 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.9166, allocations: 4.25 kB / 0.8077 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.9167, allocations: 322.8 kB / 0.808 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.179e-05/0.9168, allocations: 8 kB / 0.808 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.516e-05/0.9168, allocations: 21.72 kB / 0.8081 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.369e-05/0.9169, allocations: 8 kB / 0.8081 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.9169, allocations: 0 / 0.8081 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000149/0.917, allocations: 65.59 kB / 0.8081 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.9171, allocations: 8 kB / 0.8081 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.9171, allocations: 4 kB / 0.8081 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.9171, allocations: 96 / 0.8081 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.9172, allocations: 7.984 kB / 0.8081 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.9173, allocations: 0 / 0.8081 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.738e-05/0.9173, allocations: 11.91 kB / 0.8082 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.9174, allocations: 0 / 0.8082 GB, free: 14.21 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.0001068/0.9175, allocations: 121.8 kB / 0.8083 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.9175, allocations: 7.906 kB / 0.8083 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.9176, allocations: 16.56 kB / 0.8083 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.9176, allocations: 0 / 0.8083 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9176, allocations: 4 kB / 0.8083 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.9176, allocations: 0 / 0.8083 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005554/0.9182, allocations: 481.2 kB / 0.8088 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.9182, allocations: 0 / 0.8088 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/0.9183, allocations: 4 kB / 0.8088 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/0.9183, allocations: 4.062 kB / 0.8088 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.9183, allocations: 7.938 kB / 0.8088 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.9183, allocations: 0 / 0.8088 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/0.9183, allocations: 7.922 kB / 0.8088 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.9185, allocations: 87.58 kB / 0.8089 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.759e-05/0.9186, allocations: 100.9 kB / 0.809 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.9186, allocations: 0 / 0.809 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.9186, allocations: 0 / 0.809 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.9187, allocations: 0 / 0.809 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.9187, allocations: 4 kB / 0.809 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001511/0.9188, allocations: 131.2 kB / 0.8091 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9189, allocations: 0 / 0.8091 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002612/0.9191, allocations: 15.88 kB / 0.8091 GB, free: 13.13 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.0004667/0.9196, allocations: 0.6993 MB / 0.8098 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.9197, allocations: 23.98 kB / 0.8098 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.9198, allocations: 0 / 0.8098 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.32e-05/0.9198, allocations: 12.09 kB / 0.8098 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.92, allocations: 11.95 kB / 0.8098 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.9212, allocations: 0.7365 MB / 0.8105 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.9216, allocations: 0.7004 MB / 0.8112 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.15e-05/0.9216, allocations: 12.42 kB / 0.8112 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.542e-05/0.9217, allocations: 23.44 kB / 0.8113 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of SimCode: time 1.172e-06/0.9217, allocations: 0 / 0.8113 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.942, allocations: 1.569 MB / 0.8128 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003616/0.9424, allocations: 199.4 kB / 0.813 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/3.302, allocations: 0 / 0.813 GB, free: 9.078 MB / 0.6355 GB