Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.02176/0.02177, allocations: 88.38 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001233/0.001233, allocations: 172.6 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.124/2.124, allocations: 205.5 MB / 222.2 MB, free: 13.72 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.309/2.309, allocations: 252.8 MB / 0.511 GB, free: 8.367 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004878/0.000488, allocations: 10.16 kB / 0.6243 GB, free: 28.38 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2169, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001276/0.2182, allocations: 0.5531 MB / 0.7286 GB, free: 9.617 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.0001433/0.2184, allocations: 51.78 kB / 0.7287 GB, free: 9.566 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.651e-05/0.2184, allocations: 0 / 0.7287 GB, free: 9.566 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.2185, allocations: 7.922 kB / 0.7287 GB, free: 9.559 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.2186, allocations: 11.94 kB / 0.7287 GB, free: 9.547 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 6.158e-05/0.2187, allocations: 15.98 kB / 0.7287 GB, free: 9.531 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.2188, allocations: 35.95 kB / 0.7287 GB, free: 9.496 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.219, allocations: 41.48 kB / 0.7288 GB, free: 9.445 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 5.369e-05/0.219, allocations: 15.94 kB / 0.7288 GB, free: 9.43 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 7.337e-05/0.2191, allocations: 27.72 kB / 0.7288 GB, free: 9.402 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.2191, allocations: 4 kB / 0.7288 GB, free: 9.398 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.2192, allocations: 0 / 0.7288 GB, free: 9.398 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.2192, allocations: 15.92 kB / 0.7288 GB, free: 9.383 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.2192, allocations: 37.64 kB / 0.7289 GB, free: 9.34 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.2194, allocations: 51.88 kB / 0.7289 GB, free: 9.289 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2194, allocations: 0 / 0.7289 GB, free: 9.289 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2194, allocations: 4 kB / 0.7289 GB, free: 9.285 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.2194, allocations: 0 / 0.7289 GB, free: 9.285 MB / 0.5574 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.0005252/0.2199, allocations: 371.3 kB / 0.7293 GB, free: 8.875 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.22, allocations: 12.03 kB / 0.7293 GB, free: 8.863 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.23e-05/0.2201, allocations: 38.55 kB / 0.7293 GB, free: 8.816 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.2201, allocations: 15.81 kB / 0.7293 GB, free: 8.801 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.2204, allocations: 190.9 kB / 0.7295 GB, free: 8.574 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.2204, allocations: 8 kB / 0.7295 GB, free: 8.566 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.2204, allocations: 15.94 kB / 0.7295 GB, free: 8.551 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.2207, allocations: 95.28 kB / 0.7296 GB, free: 8.445 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2207, allocations: 0 / 0.7296 GB, free: 8.445 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.2208, allocations: 4 kB / 0.7296 GB, free: 8.441 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2208, allocations: 0 / 0.7296 GB, free: 8.441 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.2209, allocations: 39.92 kB / 0.7297 GB, free: 8.402 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007136/0.2216, allocations: 448.7 kB / 0.7301 GB, free: 7.91 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 6.37e-05/0.2217, allocations: 41.23 kB / 0.7301 GB, free: 7.852 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.2217, allocations: 4 kB / 0.7301 GB, free: 7.848 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.2218, allocations: 34.56 kB / 0.7302 GB, free: 7.805 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=2): time 1.843e-06/0.2218, allocations: 0 / 0.7302 GB, free: 7.805 MB / 0.5574 GB Notification: Performance of matching and sorting (n=2): time 0.0002216/0.222, allocations: 61.5 kB / 0.7302 GB, free: 7.738 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.2221, allocations: 77.11 kB / 0.7303 GB, free: 7.645 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.2223, allocations: 171.1 kB / 0.7305 GB, free: 7.469 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.2223, allocations: 25.7 kB / 0.7305 GB, free: 7.438 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.2224, allocations: 108 kB / 0.7306 GB, free: 7.328 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.2224, allocations: 12.08 kB / 0.7306 GB, free: 7.316 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.2224, allocations: 4 kB / 0.7306 GB, free: 7.312 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2226, allocations: 322.8 kB / 0.7309 GB, free: 6.988 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.117e-05/0.2226, allocations: 8 kB / 0.7309 GB, free: 6.98 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.84e-05/0.2227, allocations: 17.7 kB / 0.7309 GB, free: 6.957 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.091e-05/0.2227, allocations: 15.89 kB / 0.731 GB, free: 6.941 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2227, allocations: 0 / 0.731 GB, free: 6.941 MB / 0.5574 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001317/0.2229, allocations: 61.61 kB / 0.731 GB, free: 6.875 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.2229, allocations: 4 kB / 0.731 GB, free: 6.871 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2229, allocations: 3.938 kB / 0.731 GB, free: 6.867 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.2229, allocations: 4 kB / 0.731 GB, free: 6.863 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.2231, allocations: 7.984 kB / 0.731 GB, free: 6.855 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.2231, allocations: 3.938 kB / 0.731 GB, free: 6.852 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.612e-05/0.2231, allocations: 7.906 kB / 0.7311 GB, free: 6.844 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.2232, allocations: 0 / 0.7311 GB, free: 6.844 MB / 0.5574 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.679e-05/0.2233, allocations: 117.8 kB / 0.7312 GB, free: 6.719 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.2233, allocations: 11.97 kB / 0.7312 GB, free: 6.707 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/0.2234, allocations: 24.44 kB / 0.7312 GB, free: 6.688 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2234, allocations: 4 kB / 0.7312 GB, free: 6.684 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2234, allocations: 0 / 0.7312 GB, free: 6.684 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2234, allocations: 4 kB / 0.7312 GB, free: 6.68 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005347/0.224, allocations: 478.8 kB / 0.7317 GB, free: 6.148 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.224, allocations: 4 kB / 0.7317 GB, free: 6.145 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/0.224, allocations: 4.062 kB / 0.7317 GB, free: 6.141 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.224, allocations: 4 kB / 0.7317 GB, free: 6.137 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.2241, allocations: 3.984 kB / 0.7317 GB, free: 6.133 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2241, allocations: 0 / 0.7317 GB, free: 6.133 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2241, allocations: 0 / 0.7317 GB, free: 6.133 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.2242, allocations: 95.52 kB / 0.7318 GB, free: 6.012 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.2243, allocations: 92.94 kB / 0.7319 GB, free: 5.902 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.2243, allocations: 4 kB / 0.7319 GB, free: 5.898 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.86e-05/0.2244, allocations: 0 / 0.7319 GB, free: 5.898 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.2244, allocations: 0 / 0.7319 GB, free: 5.898 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.2244, allocations: 4 kB / 0.7319 GB, free: 5.895 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0001724/0.2246, allocations: 124.7 kB / 0.732 GB, free: 5.773 MB / 0.5574 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2246, allocations: 0 / 0.732 GB, free: 5.773 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0002684/0.2249, allocations: 15.89 kB / 0.732 GB, free: 5.758 MB / 0.5574 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.0004573/0.2254, allocations: 0.6993 MB / 0.7327 GB, free: 5.02 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.2255, allocations: 19.98 kB / 0.7327 GB, free: 5 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.2255, allocations: 4.156 kB / 0.7327 GB, free: 4.996 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 2.301e-05/0.2255, allocations: 8 kB / 0.7327 GB, free: 4.988 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.2257, allocations: 7.953 kB / 0.7327 GB, free: 4.98 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.2269, allocations: 0.7364 MB / 0.7334 GB, free: 4.199 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.2272, allocations: 0.7004 MB / 0.7341 GB, free: 3.473 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 4.871e-05/0.2272, allocations: 12.42 kB / 0.7341 GB, free: 3.461 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.328e-05/0.2273, allocations: 23.44 kB / 0.7342 GB, free: 3.438 MB / 0.5574 GB Notification: Performance of SimCode: time 8.62e-07/0.2273, allocations: 3.938 kB / 0.7342 GB, free: 3.434 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.2517, allocations: 1.572 MB / 0.7357 GB, free: 1.969 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003115/0.252, allocations: 197 kB / 0.7359 GB, free: 1.727 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.227/2.479, allocations: 0 / 0.7359 GB, free: 1.727 MB / 0.5574 GB