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_psi.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_psi,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",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.01022/0.01022, allocations: 91.94 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.00119/0.00119, allocations: 172.1 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.333/2.333, allocations: 205.5 MB / 222.2 MB, free: 13.75 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.423/2.423, allocations: 252.8 MB / 0.511 GB, free: 8.391 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0007015/0.0007016, allocations: 17.09 kB / 0.6243 GB, free: 28.44 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2202, allocations: 106.2 MB / 0.7281 GB, free: 10.2 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001241/0.2215, allocations: 0.557 MB / 0.7286 GB, free: 9.637 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.0001383/0.2217, allocations: 43.8 kB / 0.7287 GB, free: 9.594 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.2217, allocations: 0 / 0.7287 GB, free: 9.594 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.2218, allocations: 11.92 kB / 0.7287 GB, free: 9.582 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.2219, allocations: 7.922 kB / 0.7287 GB, free: 9.574 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 5.051e-05/0.222, allocations: 15.98 kB / 0.7287 GB, free: 9.559 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.2221, allocations: 43.91 kB / 0.7287 GB, free: 9.516 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.2222, allocations: 29.55 kB / 0.7288 GB, free: 9.477 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 5.029e-05/0.2223, allocations: 23.92 kB / 0.7288 GB, free: 9.453 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 6.733e-05/0.2224, allocations: 23.8 kB / 0.7288 GB, free: 9.43 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.2224, allocations: 4 kB / 0.7288 GB, free: 9.426 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-06/0.2224, allocations: 0 / 0.7288 GB, free: 9.426 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.2224, allocations: 11.92 kB / 0.7288 GB, free: 9.414 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.2225, allocations: 41.64 kB / 0.7289 GB, free: 9.367 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.2226, allocations: 51.86 kB / 0.7289 GB, free: 9.316 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.2226, allocations: 4 kB / 0.7289 GB, free: 9.312 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2226, allocations: 0 / 0.7289 GB, free: 9.312 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2226, allocations: 0 / 0.7289 GB, free: 9.312 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.0004662/0.2231, allocations: 375.3 kB / 0.7293 GB, free: 8.898 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.2232, allocations: 12.03 kB / 0.7293 GB, free: 8.887 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/0.2232, allocations: 38.55 kB / 0.7293 GB, free: 8.84 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.2233, allocations: 11.81 kB / 0.7293 GB, free: 8.828 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.2235, allocations: 190.9 kB / 0.7295 GB, free: 8.602 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.2236, allocations: 15.92 kB / 0.7295 GB, free: 8.586 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.2236, allocations: 4 kB / 0.7295 GB, free: 8.582 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.2238, allocations: 99.3 kB / 0.7296 GB, free: 8.473 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2238, allocations: 0 / 0.7296 GB, free: 8.473 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2238, allocations: 0 / 0.7296 GB, free: 8.473 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.2239, allocations: 0 / 0.7296 GB, free: 8.473 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.224, allocations: 43.86 kB / 0.7297 GB, free: 8.43 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006983/0.2247, allocations: 452.6 kB / 0.7301 GB, free: 7.934 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 7.152e-05/0.2248, allocations: 41.25 kB / 0.7301 GB, free: 7.875 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.2248, allocations: 0 / 0.7301 GB, free: 7.875 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.2248, allocations: 30.56 kB / 0.7302 GB, free: 7.836 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=2): time 3.607e-06/0.2249, allocations: 3.984 kB / 0.7302 GB, free: 7.832 MB / 0.5574 GB Notification: Performance of matching and sorting (n=2): time 0.0002139/0.2251, allocations: 69.5 kB / 0.7302 GB, free: 7.758 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.2251, allocations: 77.11 kB / 0.7303 GB, free: 7.664 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.2253, allocations: 165.2 kB / 0.7305 GB, free: 7.492 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.2254, allocations: 25.7 kB / 0.7305 GB, free: 7.461 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.2255, allocations: 108 kB / 0.7306 GB, free: 7.352 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.2255, allocations: 7.844 kB / 0.7306 GB, free: 7.344 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-06/0.2255, allocations: 4 kB / 0.7306 GB, free: 7.34 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2256, allocations: 323.1 kB / 0.7309 GB, free: 7.016 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.483e-05/0.2257, allocations: 4 kB / 0.7309 GB, free: 7.012 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.914e-05/0.2257, allocations: 25.7 kB / 0.7309 GB, free: 6.98 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.032e-05/0.2258, allocations: 15.89 kB / 0.731 GB, free: 6.965 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2258, allocations: 0 / 0.731 GB, free: 6.965 MB / 0.5574 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001386/0.2259, allocations: 57.61 kB / 0.731 GB, free: 6.902 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.226, allocations: 4 kB / 0.731 GB, free: 6.898 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.226, allocations: 3.984 kB / 0.731 GB, free: 6.895 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.226, allocations: 8.062 kB / 0.731 GB, free: 6.887 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.446e-05/0.2261, allocations: 11.94 kB / 0.731 GB, free: 6.875 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2261, allocations: 0 / 0.731 GB, free: 6.875 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.291e-05/0.2262, allocations: 7.906 kB / 0.731 GB, free: 6.867 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.2262, allocations: 0 / 0.731 GB, free: 6.867 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.761e-05/0.2263, allocations: 117.8 kB / 0.7312 GB, free: 6.742 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.832e-05/0.2264, allocations: 7.906 kB / 0.7312 GB, free: 6.734 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/0.2264, allocations: 24.44 kB / 0.7312 GB, free: 6.715 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2264, allocations: 0 / 0.7312 GB, free: 6.715 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2264, allocations: 4 kB / 0.7312 GB, free: 6.711 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.2265, allocations: 4 kB / 0.7312 GB, free: 6.707 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004947/0.227, allocations: 474.8 kB / 0.7317 GB, free: 6.18 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.227, allocations: 0 / 0.7317 GB, free: 6.18 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.227, allocations: 7.984 kB / 0.7317 GB, free: 6.172 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.227, allocations: 0 / 0.7317 GB, free: 6.172 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.2271, allocations: 4 kB / 0.7317 GB, free: 6.168 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.2271, allocations: 8.047 kB / 0.7317 GB, free: 6.16 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2271, allocations: 0 / 0.7317 GB, free: 6.16 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.2272, allocations: 95.52 kB / 0.7318 GB, free: 6.039 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.2273, allocations: 96.84 kB / 0.7319 GB, free: 5.926 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.2273, allocations: 4 kB / 0.7319 GB, free: 5.922 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.072e-05/0.2274, allocations: 0 / 0.7319 GB, free: 5.922 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.2274, allocations: 4.031 kB / 0.7319 GB, free: 5.918 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.2274, allocations: 0 / 0.7319 GB, free: 5.918 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0001328/0.2276, allocations: 130.8 kB / 0.732 GB, free: 5.793 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2276, allocations: 0 / 0.732 GB, free: 5.793 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0002623/0.2279, allocations: 19.89 kB / 0.732 GB, free: 5.773 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.0004272/0.2283, allocations: 0.6954 MB / 0.7327 GB, free: 5.039 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 9.89e-05/0.2284, allocations: 16 kB / 0.7327 GB, free: 5.023 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2284, allocations: 0 / 0.7327 GB, free: 5.023 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 2.838e-05/0.2285, allocations: 15.94 kB / 0.7327 GB, free: 5.008 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.2286, allocations: 4.234 kB / 0.7327 GB, free: 5.004 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.2298, allocations: 0.7404 MB / 0.7334 GB, free: 4.219 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.2301, allocations: 0.6965 MB / 0.7341 GB, free: 3.496 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 4.787e-05/0.2301, allocations: 8.422 kB / 0.7341 GB, free: 3.488 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/0.2302, allocations: 27.42 kB / 0.7342 GB, free: 3.461 MB / 0.5574 GB Notification: Performance of SimCode: time 8.42e-07/0.2302, allocations: 4 kB / 0.7342 GB, free: 3.457 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.2568, allocations: 1.577 MB / 0.7357 GB, free: 1.988 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003188/0.2572, allocations: 198 kB / 0.7359 GB, free: 1.746 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.132/2.389, allocations: 4 kB / 0.7359 GB, free: 1.742 MB / 0.5574 GB