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_psi.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.949/3.949, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.14e-05, allocations: 5.766 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2159, allocations: 98.74 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.234/0.45, allocations: 124.2 MB / 0.756 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.4503, allocations: 71.95 kB / 0.7561 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004116/0.4544, allocations: 1.146 MB / 0.7572 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4544, allocations: 0 / 0.7572 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.4545, allocations: 4 kB / 0.7572 GB, free: 4.316 MB / 0.6355 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.0004374/0.4549, allocations: 362.3 kB / 0.7576 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.455, allocations: 12.03 kB / 0.7576 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.128e-05/0.455, allocations: 38.56 kB / 0.7576 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/0.4551, allocations: 15.86 kB / 0.7576 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.4553, allocations: 182.8 kB / 0.7578 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.4553, allocations: 12 kB / 0.7578 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.4554, allocations: 4 kB / 0.7578 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.4556, allocations: 90.22 kB / 0.7579 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4556, allocations: 0 / 0.7579 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.4556, allocations: 8 kB / 0.7579 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.4556, allocations: 0 / 0.7579 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.4558, allocations: 43.92 kB / 0.7579 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007276/0.4565, allocations: 460.6 kB / 0.7584 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.226e-05/0.4566, allocations: 45.14 kB / 0.7584 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.4566, allocations: 15.66 kB / 0.7584 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.4567, allocations: 0 / 0.7584 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.4567, allocations: 42.5 kB / 0.7585 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.4567, allocations: 0 / 0.7585 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001846/0.4569, allocations: 49.59 kB / 0.7585 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.457, allocations: 81.17 kB / 0.7586 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.4572, allocations: 153 kB / 0.7588 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.4572, allocations: 29.7 kB / 0.7588 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.197e-05/0.4573, allocations: 108.2 kB / 0.7589 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.4573, allocations: 7.906 kB / 0.7589 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.4573, allocations: 3.938 kB / 0.7589 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4575, allocations: 322.8 kB / 0.7592 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.876e-05/0.4575, allocations: 12 kB / 0.7592 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-05/0.4576, allocations: 21.72 kB / 0.7592 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.98e-05/0.4576, allocations: 7.984 kB / 0.7592 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4577, allocations: 7.938 kB / 0.7593 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000138/0.4578, allocations: 61.55 kB / 0.7593 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4578, allocations: 4 kB / 0.7593 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4579, allocations: 0 / 0.7593 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.4579, allocations: 0 / 0.7593 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.714e-05/0.458, allocations: 16.05 kB / 0.7593 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.458, allocations: 0 / 0.7593 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.417e-05/0.4581, allocations: 3.938 kB / 0.7593 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.4581, allocations: 4 kB / 0.7593 GB, free: 1.883 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 () * 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.235e-05/0.4582, allocations: 108.9 kB / 0.7594 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-05/0.4582, allocations: 11.81 kB / 0.7595 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.4583, allocations: 12.56 kB / 0.7595 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4583, allocations: 0 / 0.7595 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4583, allocations: 0 / 0.7595 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.4583, allocations: 7.984 kB / 0.7595 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.4588, allocations: 474.8 kB / 0.7599 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.4589, allocations: 4 kB / 0.7599 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.801e-05/0.4589, allocations: 0 / 0.7599 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.4589, allocations: 4 kB / 0.7599 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.4589, allocations: 3.984 kB / 0.7599 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.459, allocations: 7.922 kB / 0.7599 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.459, allocations: 0 / 0.7599 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.4591, allocations: 95.64 kB / 0.76 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.4592, allocations: 93 kB / 0.7601 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.4592, allocations: 0 / 0.7601 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.238e-05/0.4593, allocations: 4 kB / 0.7601 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.4593, allocations: 0 / 0.7601 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.4593, allocations: 11.98 kB / 0.7601 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001326/0.4595, allocations: 127 kB / 0.7603 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.7e-07/0.4595, allocations: 0 / 0.7603 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002344/0.4597, allocations: 8 kB / 0.7603 GB, free: 0.8125 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 () * 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.0004492/0.4602, allocations: 0.7069 MB / 0.761 GB, free: 72 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.4603, allocations: 19.94 kB / 0.761 GB, free: 52 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4603, allocations: 0 / 0.761 GB, free: 52 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.624e-05/0.4603, allocations: 8 kB / 0.761 GB, free: 44 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.4605, allocations: 11.95 kB / 0.761 GB, free: 32 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.461, allocations: 144 kB / 0.7611 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.4613, allocations: 0.6965 MB / 0.7618 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.359e-05/0.4613, allocations: 12.42 kB / 0.7618 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.23e-05/0.4614, allocations: 27.36 kB / 0.7619 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of SimCode: time 8.72e-07/0.4614, allocations: 4 kB / 0.7619 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.4853, allocations: 1.541 MB / 0.7634 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002666/0.4856, allocations: 168.8 kB / 0.7635 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.079/2.565, allocations: 0 / 0.7635 GB, free: 13.38 MB / 0.6511 GB