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_Btu.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_Btu,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",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.01292/0.01292, allocations: 222.1 kB / 15.17 MB, free: 5.922 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.001322/0.001322, allocations: 177.9 kB / 16.06 MB, free: 5.828 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.967/3.967, allocations: 389.1 MB / 405.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.843/4.843, allocations: 472.3 MB / 0.9017 GB, free: 3.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006783/0.0006785, allocations: 12 kB / 1.008 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7609/0.7616, allocations: 98.71 MB / 1.104 GB, free: 212.9 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001447/0.7631, allocations: 0.5441 MB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001641/0.7633, allocations: 43.41 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/0.7634, allocations: 1.344 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.7634, allocations: 7.188 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.7636, allocations: 14.2 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 6.45e-05/0.7636, allocations: 15.64 kB / 1.105 GB, free: 212.6 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.7638, allocations: 61.67 kB / 1.105 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.764, allocations: 30.02 kB / 1.105 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.408e-05/0.764, allocations: 20.06 kB / 1.105 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.526e-05/0.7641, allocations: 26.11 kB / 1.105 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.7642, allocations: 2 kB / 1.105 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.7642, allocations: 2.375 kB / 1.105 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/0.7642, allocations: 12.06 kB / 1.105 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.7643, allocations: 33.92 kB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.7644, allocations: 57.38 kB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.7644, allocations: 0 / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7645, allocations: 1 kB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.7645, allocations: 0 / 1.105 GB, free: 212.4 MB / 0.7292 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.0004875/0.765, allocations: 372.1 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.765, allocations: 13.91 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.486e-05/0.7651, allocations: 42.45 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.951e-05/0.7652, allocations: 16.06 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.7654, allocations: 191.9 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.7655, allocations: 2.75 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008214/0.7737, allocations: 9.156 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.7741, allocations: 102.7 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.7741, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.7742, allocations: 6.891 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.7742, allocations: 3.812 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.7744, allocations: 37.39 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008613/0.7752, allocations: 453.3 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.534e-05/0.7753, allocations: 41.19 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.418e-05/0.7754, allocations: 16.56 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.7754, allocations: 0 / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.7755, allocations: 44 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.824e-06/0.7755, allocations: 2.719 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002708/0.7758, allocations: 54.92 kB / 1.106 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.7758, allocations: 77.11 kB / 1.106 GB, free: 211 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.7761, allocations: 168.2 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.7761, allocations: 25.7 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.244e-05/0.7762, allocations: 105.6 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.7762, allocations: 6.812 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.7762, allocations: 0.7812 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.514e-05/0.7763, allocations: 324.3 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.781e-05/0.7764, allocations: 14.62 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.534e-05/0.7764, allocations: 15.44 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.719e-05/0.7765, allocations: 7.688 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7765, allocations: 0 / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001655/0.7767, allocations: 64.34 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.7767, allocations: 5.703 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.7767, allocations: 3.625 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.7768, allocations: 6 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.7769, allocations: 3.812 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.7769, allocations: 1.188 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.811e-05/0.777, allocations: 9.531 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.777, allocations: 1.531 kB / 1.107 GB, free: 210.4 MB / 0.7292 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 8.954e-05/0.7771, allocations: 126.5 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.05e-05/0.7772, allocations: 11.47 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.7773, allocations: 15.44 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.7773, allocations: 0 / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.7773, allocations: 2.906 kB / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.7773, allocations: 0 / 1.107 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004668/0.782, allocations: 489.4 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.7821, allocations: 0 / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.7821, allocations: 5.531 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.7822, allocations: 2.625 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.7822, allocations: 0 / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.7822, allocations: 0 / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.7822, allocations: 2.625 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.7824, allocations: 92.28 kB / 1.108 GB, free: 209.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.7825, allocations: 88.33 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.7825, allocations: 2.719 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.932e-05/0.7826, allocations: 3.969 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.7826, allocations: 3.375 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.7826, allocations: 0 / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001545/0.7828, allocations: 129.7 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.71e-07/0.7828, allocations: 2.219 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004656/0.7833, allocations: 6.125 kB / 1.108 GB, free: 209.5 MB / 0.7292 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.0003953/0.7837, allocations: 0.6179 MB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001345/0.7838, allocations: 24.45 kB / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.7839, allocations: 0 / 1.109 GB, free: 208.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.312e-05/0.7839, allocations: 8.625 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.7842, allocations: 11.77 kB / 1.109 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.7858, allocations: 0.5978 MB / 1.109 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.786, allocations: 0.7037 MB / 1.11 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.016e-05/0.7861, allocations: 10.83 kB / 1.11 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.474e-05/0.7862, allocations: 25.11 kB / 1.11 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of SimCode: time 1.032e-06/0.7862, allocations: 0 / 1.11 GB, free: 207.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04303/0.8292, allocations: 1.581 MB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/0.8295, allocations: 202.1 kB / 1.112 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.718/3.547, allocations: 0 / 1.112 GB, free: 207.4 MB / 0.7292 GB