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.01083/0.01083, allocations: 106.6 kB / 15.06 MB, free: 6.035 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.001211/0.001211, allocations: 181.3 kB / 15.95 MB, free: 5.965 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.6 MB / 211.3 MB, free: 11.06 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.256/2.256, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004704, allocations: 15.98 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6431/0.6437, allocations: 98.71 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001103/0.6448, allocations: 0.5529 MB / 0.684 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001287/0.645, allocations: 47.3 kB / 0.684 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.645, allocations: 1.438 kB / 0.684 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.6451, allocations: 9.109 kB / 0.684 GB, free: 16.42 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.734e-05/0.6452, allocations: 2.656 kB / 0.684 GB, free: 16.42 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 5.95e-05/0.6452, allocations: 14.94 kB / 0.684 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.077e-05/0.6453, allocations: 45.98 kB / 0.6841 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.6455, allocations: 26.95 kB / 0.6841 GB, free: 16.37 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.975e-05/0.6455, allocations: 23.67 kB / 0.6841 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.026e-05/0.6456, allocations: 24.52 kB / 0.6842 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.6456, allocations: 2.156 kB / 0.6842 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.6457, allocations: 1.688 kB / 0.6842 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.6457, allocations: 16.22 kB / 0.6842 GB, free: 16.33 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.6457, allocations: 34.98 kB / 0.6842 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.6458, allocations: 49.64 kB / 0.6843 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.6459, allocations: 0 / 0.6843 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.395e-06/0.6459, allocations: 0 / 0.6843 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.6459, allocations: 5.188 kB / 0.6843 GB, free: 16.28 MB / 0.5261 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.0003817/0.6463, allocations: 376.1 kB / 0.6846 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.6463, allocations: 9.547 kB / 0.6846 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.6464, allocations: 42.61 kB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.6464, allocations: 13.36 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.6466, allocations: 195.9 kB / 0.6849 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.6466, allocations: 8.688 kB / 0.6849 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.6467, allocations: 5.562 kB / 0.6849 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.6469, allocations: 100.8 kB / 0.685 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.6469, allocations: 0.8438 kB / 0.685 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.6469, allocations: 5.125 kB / 0.685 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.6469, allocations: 5.688 kB / 0.685 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.6471, allocations: 44.27 kB / 0.685 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.6477, allocations: 445.5 kB / 0.6855 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.652e-05/0.6477, allocations: 37.55 kB / 0.6855 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.6478, allocations: 6.031 kB / 0.6855 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.6478, allocations: 32.03 kB / 0.6855 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.864e-06/0.6478, allocations: 0 / 0.6855 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002003/0.648, allocations: 63.03 kB / 0.6856 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.648, allocations: 77.91 kB / 0.6857 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.6482, allocations: 166.8 kB / 0.6858 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.6483, allocations: 29.64 kB / 0.6859 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.063e-05/0.6483, allocations: 104.4 kB / 0.686 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.012e-05/0.6484, allocations: 9.125 kB / 0.686 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.6484, allocations: 1.031 kB / 0.686 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.757e-05/0.6484, allocations: 320.5 kB / 0.6863 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/0.6485, allocations: 9.062 kB / 0.6863 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.6485, allocations: 20.31 kB / 0.6863 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.779e-05/0.6486, allocations: 12.92 kB / 0.6863 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6486, allocations: 0 / 0.6863 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001187/0.6487, allocations: 62.25 kB / 0.6864 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.6487, allocations: 8.844 kB / 0.6864 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6488, allocations: 0 / 0.6864 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.6488, allocations: 5.094 kB / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.6489, allocations: 6.859 kB / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.6489, allocations: 0 / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.371e-05/0.649, allocations: 10.89 kB / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.649, allocations: 2.375 kB / 0.6864 GB, free: 14.21 MB / 0.5261 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 7.37e-05/0.6491, allocations: 120.6 kB / 0.6865 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.6491, allocations: 10.23 kB / 0.6865 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.6492, allocations: 13.27 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.6492, allocations: 0.6562 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.6492, allocations: 5.375 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6492, allocations: 0 / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.6497, allocations: 477.5 kB / 0.687 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.6497, allocations: 0 / 0.687 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.6497, allocations: 8.422 kB / 0.687 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.6497, allocations: 0 / 0.687 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.6497, allocations: 1.375 kB / 0.687 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.6498, allocations: 5.188 kB / 0.687 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6498, allocations: 0.9375 kB / 0.687 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.6499, allocations: 95.61 kB / 0.6871 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.6499, allocations: 91.61 kB / 0.6872 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.65, allocations: 5.25 kB / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.086e-05/0.65, allocations: 8.828 kB / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.6501, allocations: 1.094 kB / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.6501, allocations: 1.984 kB / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000116/0.6502, allocations: 130 kB / 0.6873 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6502, allocations: 0 / 0.6873 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002419/0.6505, allocations: 11.33 kB / 0.6873 GB, free: 13.26 MB / 0.5261 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.0002989/0.6508, allocations: 0.6942 MB / 0.688 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.974e-05/0.6509, allocations: 23.75 kB / 0.688 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6509, allocations: 1.406 kB / 0.688 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/0.6509, allocations: 7.953 kB / 0.6881 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.6511, allocations: 17.03 kB / 0.6881 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.6521, allocations: 0.7483 MB / 0.6888 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.6523, allocations: 0.7003 MB / 0.6895 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.822e-05/0.6524, allocations: 7 kB / 0.6895 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.6524, allocations: 29.42 kB / 0.6895 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of SimCode: time 1.663e-06/0.6525, allocations: 0 / 0.6895 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.6758, allocations: 1.572 MB / 0.6911 GB, free: 11 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/0.6761, allocations: 201.8 kB / 0.6912 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.275/2.951, allocations: 1.219 kB / 0.6912 GB, free: 10.75 MB / 0.5261 GB