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_cfm.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.321/4.321, allocations: 433.2 MB / 440.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.082e-05/3.098e-05, allocations: 4 kB / 0.5325 GB, free: 1.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6541/0.6542, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.253/0.9072, allocations: 123.5 MB / 0.7496 GB, free: 4.012 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.9075, allocations: 67.97 kB / 0.7496 GB, free: 3.945 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.004042/0.9116, allocations: 1.143 MB / 0.7507 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9116, allocations: 0 / 0.7507 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.9117, allocations: 4 kB / 0.7507 GB, free: 2.797 MB / 0.6198 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.0003988/0.9121, allocations: 366.2 kB / 0.7511 GB, free: 2.395 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.9121, allocations: 12.03 kB / 0.7511 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.9122, allocations: 11.86 kB / 0.7511 GB, free: 2.371 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/0.9124, allocations: 182.8 kB / 0.7513 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.9124, allocations: 0 / 0.7513 GB, free: 2.152 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.9125, allocations: 4 kB / 0.7513 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001274/0.9126, allocations: 40.2 kB / 0.7513 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.9128, allocations: 75.41 kB / 0.7514 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.9128, allocations: 3.938 kB / 0.7514 GB, free: 2.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.9129, allocations: 8 kB / 0.7514 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.9129, allocations: 0 / 0.7514 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006903/0.9136, allocations: 425.1 kB / 0.7518 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.679e-05/0.9137, allocations: 41.16 kB / 0.7519 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.876e-05/0.9137, allocations: 17.78 kB / 0.7519 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.9137, allocations: 4.031 kB / 0.7519 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.9138, allocations: 30.56 kB / 0.7519 GB, free: 1.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.9138, allocations: 4 kB / 0.7519 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001988/0.914, allocations: 49.59 kB / 0.752 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.9141, allocations: 77.11 kB / 0.752 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.9142, allocations: 122.7 kB / 0.7521 GB, free: 1.148 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.9142, allocations: 29.64 kB / 0.7522 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.9144, allocations: 116 kB / 0.7523 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.9144, allocations: 3.906 kB / 0.7523 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.9144, allocations: 64 / 0.7523 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.9145, allocations: 318.8 kB / 0.7526 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.9146, allocations: 8 kB / 0.7526 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.89e-05/0.9146, allocations: 21.72 kB / 0.7526 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/0.9147, allocations: 8 kB / 0.7526 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.9147, allocations: 3.953 kB / 0.7526 GB, free: 0.625 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001227/0.9148, allocations: 49.69 kB / 0.7527 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.9149, allocations: 16 kB / 0.7527 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.9149, allocations: 0 / 0.7527 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.9149, allocations: 0 / 0.7527 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.915, allocations: 4 kB / 0.7527 GB, free: 0.5508 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.915, allocations: 4 kB / 0.7527 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.9151, allocations: 7.844 kB / 0.7527 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.9151, allocations: 0 / 0.7527 GB, free: 0.5391 MB / 0.6198 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.858e-05/0.9152, allocations: 105 kB / 0.7528 GB, free: 440 kB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001321/0.9153, allocations: 65.48 kB / 0.7529 GB, free: 368 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.9154, allocations: 0 / 0.7529 GB, free: 368 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.9154, allocations: 11.97 kB / 0.7529 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.9155, allocations: 0 / 0.7529 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.9155, allocations: 0 / 0.7529 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.9155, allocations: 4 kB / 0.7529 GB, free: 352 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005408/0.916, allocations: 459.2 kB / 0.7533 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.9161, allocations: 128 / 0.7533 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.355e-05/0.9161, allocations: 8 kB / 0.7533 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.9161, allocations: 0 / 0.7533 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.9161, allocations: 0 / 0.7533 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.9162, allocations: 0 / 0.7533 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.9162, allocations: 3.984 kB / 0.7533 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.9163, allocations: 85.94 kB / 0.7534 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.9164, allocations: 93 kB / 0.7535 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.9164, allocations: 0 / 0.7535 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.4e-05/0.9165, allocations: 7.938 kB / 0.7535 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.9165, allocations: 3.938 kB / 0.7535 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.9165, allocations: 3.953 kB / 0.7535 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001002/0.9166, allocations: 105.1 kB / 0.7536 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9166, allocations: 0 / 0.7536 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002612/0.9169, allocations: 11.91 kB / 0.7536 GB, free: 15.48 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.0004763/0.9174, allocations: 0.6915 MB / 0.7543 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.9175, allocations: 15.94 kB / 0.7543 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9175, allocations: 4.156 kB / 0.7543 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.24e-05/0.9176, allocations: 12 kB / 0.7543 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.9177, allocations: 3.953 kB / 0.7543 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004849/0.9182, allocations: 142.6 kB / 0.7545 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.9186, allocations: 0.7001 MB / 0.7552 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.097e-05/0.9186, allocations: 8.312 kB / 0.7552 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.9187, allocations: 23.42 kB / 0.7552 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of SimCode: time 7.81e-07/0.9187, allocations: 0 / 0.7552 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03445/0.9532, allocations: 0.9815 MB / 0.7562 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003274/0.9536, allocations: 165.2 kB / 0.7563 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/3.23, allocations: 0 / 0.7563 GB, free: 12.61 MB / 0.6355 GB