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.To_quad.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.To_quad,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",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.01019/0.01019, allocations: 91.19 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.001197/0.001197, allocations: 169.5 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.092/2.092, allocations: 205.5 MB / 222.2 MB, free: 13.69 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.297/2.297, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004783, allocations: 12.72 kB / 0.6243 GB, free: 28.31 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2122, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001256/0.2136, allocations: 0.5648 MB / 0.7286 GB, free: 9.582 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001425/0.2137, allocations: 43.8 kB / 0.7287 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.2138, allocations: 0 / 0.7287 GB, free: 9.539 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.2138, allocations: 7.922 kB / 0.7287 GB, free: 9.531 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.921e-05/0.2139, allocations: 7.922 kB / 0.7287 GB, free: 9.523 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 5.248e-05/0.214, allocations: 15.98 kB / 0.7287 GB, free: 9.508 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.844e-05/0.2141, allocations: 43.91 kB / 0.7287 GB, free: 9.465 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.2143, allocations: 33.55 kB / 0.7288 GB, free: 9.422 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.783e-05/0.2143, allocations: 19.92 kB / 0.7288 GB, free: 9.402 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.468e-05/0.2144, allocations: 23.8 kB / 0.7288 GB, free: 9.379 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.2144, allocations: 11.94 kB / 0.7288 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.2145, allocations: 0 / 0.7288 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.2145, allocations: 11.92 kB / 0.7288 GB, free: 9.355 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.2145, allocations: 37.64 kB / 0.7289 GB, free: 9.312 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.2146, allocations: 59.86 kB / 0.7289 GB, free: 9.254 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2147, allocations: 0 / 0.7289 GB, free: 9.254 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2147, allocations: 0 / 0.7289 GB, free: 9.254 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2147, allocations: 0 / 0.7289 GB, free: 9.254 MB / 0.5573 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.0004577/0.2151, allocations: 367.3 kB / 0.7293 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.2152, allocations: 16.03 kB / 0.7293 GB, free: 8.832 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.179e-05/0.2153, allocations: 42.55 kB / 0.7293 GB, free: 8.781 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.2153, allocations: 11.81 kB / 0.7293 GB, free: 8.77 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.2156, allocations: 190.9 kB / 0.7295 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.2156, allocations: 11.92 kB / 0.7295 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.2156, allocations: 8 kB / 0.7295 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.2158, allocations: 99.28 kB / 0.7296 GB, free: 8.414 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2159, allocations: 0 / 0.7296 GB, free: 8.414 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.2159, allocations: 4 kB / 0.7296 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2159, allocations: 0 / 0.7296 GB, free: 8.41 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.216, allocations: 39.92 kB / 0.7297 GB, free: 8.371 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006621/0.2167, allocations: 448.6 kB / 0.7301 GB, free: 7.879 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.602e-05/0.2168, allocations: 45.25 kB / 0.7301 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.2168, allocations: 0 / 0.7301 GB, free: 7.816 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.2168, allocations: 30.56 kB / 0.7302 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.2169, allocations: 0 / 0.7302 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002061/0.2171, allocations: 65.5 kB / 0.7302 GB, free: 7.707 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.2171, allocations: 81.36 kB / 0.7303 GB, free: 7.609 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.2173, allocations: 168 kB / 0.7305 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.2174, allocations: 25.7 kB / 0.7305 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.591e-05/0.2175, allocations: 108 kB / 0.7306 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.324e-05/0.2175, allocations: 7.844 kB / 0.7306 GB, free: 7.289 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.2175, allocations: 0 / 0.7306 GB, free: 7.289 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2176, allocations: 322.8 kB / 0.7309 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/0.2177, allocations: 8 kB / 0.7309 GB, free: 6.957 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.203e-05/0.2177, allocations: 25.7 kB / 0.7309 GB, free: 6.926 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.946e-05/0.2178, allocations: 15.89 kB / 0.731 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2178, allocations: 0 / 0.731 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001246/0.2179, allocations: 53.61 kB / 0.731 GB, free: 6.852 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2179, allocations: 4 kB / 0.731 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2179, allocations: 0 / 0.731 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.218, allocations: 7.938 kB / 0.731 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.496e-05/0.2181, allocations: 11.92 kB / 0.731 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.2181, allocations: 4.062 kB / 0.731 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.528e-05/0.2182, allocations: 11.91 kB / 0.7311 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.2182, allocations: 0 / 0.7311 GB, free: 6.812 MB / 0.5573 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.361e-05/0.2183, allocations: 117.8 kB / 0.7312 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.2183, allocations: 7.906 kB / 0.7312 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.2184, allocations: 16.5 kB / 0.7312 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.2184, allocations: 3.938 kB / 0.7312 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2184, allocations: 0 / 0.7312 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2184, allocations: 4 kB / 0.7312 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005016/0.2189, allocations: 482.8 kB / 0.7317 GB, free: 6.125 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.219, allocations: 4 kB / 0.7317 GB, free: 6.121 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/0.219, allocations: 4 kB / 0.7317 GB, free: 6.117 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.219, allocations: 0 / 0.7317 GB, free: 6.117 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.219, allocations: 7.984 kB / 0.7317 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.219, allocations: 0 / 0.7317 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.219, allocations: 0 / 0.7317 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.2192, allocations: 99.58 kB / 0.7318 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-05/0.2193, allocations: 88.91 kB / 0.7319 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.2193, allocations: 4 kB / 0.7319 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.917e-05/0.2193, allocations: 0 / 0.7319 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.2194, allocations: 4 kB / 0.7319 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.2194, allocations: 0 / 0.7319 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001255/0.2195, allocations: 128 kB / 0.732 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2195, allocations: 0 / 0.732 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002588/0.2198, allocations: 15.89 kB / 0.732 GB, free: 5.73 MB / 0.5573 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.0004276/0.2202, allocations: 0.7032 MB / 0.7327 GB, free: 4.988 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.2204, allocations: 15.98 kB / 0.7327 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2204, allocations: 0 / 0.7327 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-05/0.2204, allocations: 11.94 kB / 0.7327 GB, free: 4.961 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.2206, allocations: 10.36 kB / 0.7327 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.2217, allocations: 0.7411 MB / 0.7334 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.222, allocations: 0.6965 MB / 0.7341 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.183e-05/0.2221, allocations: 12.5 kB / 0.7341 GB, free: 3.434 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.902e-05/0.2222, allocations: 19.44 kB / 0.7342 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/0.2222, allocations: 0 / 0.7342 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.2419, allocations: 1.577 MB / 0.7357 GB, free: 1.938 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003164/0.2423, allocations: 198 kB / 0.7359 GB, free: 1.691 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.167/2.409, allocations: 0 / 0.7359 GB, free: 1.691 MB / 0.5573 GB