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_cfm.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.To_cfm,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",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.01601/0.01601, allocations: 107.7 kB / 15.05 MB, free: 5.984 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.001903/0.001903, allocations: 183.5 kB / 15.94 MB, free: 5.941 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.988/1.988, allocations: 194.5 MB / 211.3 MB, free: 11.08 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.348/2.348, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006524/0.0006525, allocations: 16 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6818/0.6825, allocations: 98.72 MB / 0.6834 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2236/0.9062, allocations: 124.3 MB / 0.8048 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.9066, allocations: 71.95 kB / 0.8049 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0041/0.9107, allocations: 1.155 MB / 0.806 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9107, allocations: 0 / 0.806 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.9107, allocations: 0 / 0.806 GB, free: 0.6484 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.0004562/0.9112, allocations: 379 kB / 0.8064 GB, free: 236 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.9113, allocations: 16.03 kB / 0.8064 GB, free: 220 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/0.9113, allocations: 34.56 kB / 0.8064 GB, free: 176 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.9114, allocations: 19.77 kB / 0.8065 GB, free: 156 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.9116, allocations: 178.9 kB / 0.8066 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.9116, allocations: 8 kB / 0.8066 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.9117, allocations: 4 kB / 0.8066 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.9119, allocations: 100.8 kB / 0.8067 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.9119, allocations: 0 / 0.8067 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.912, allocations: 4 kB / 0.8067 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.912, allocations: 4 kB / 0.8067 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.9121, allocations: 44.2 kB / 0.8068 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008537/0.913, allocations: 460.6 kB / 0.8072 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.217e-05/0.9131, allocations: 41.16 kB / 0.8073 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.9131, allocations: 0 / 0.8073 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.9131, allocations: 34.59 kB / 0.8073 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.9132, allocations: 0 / 0.8073 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002387/0.9134, allocations: 65.52 kB / 0.8074 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.9135, allocations: 81.05 kB / 0.8074 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.9137, allocations: 158.5 kB / 0.8076 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.9137, allocations: 25.7 kB / 0.8076 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.832e-05/0.9138, allocations: 104 kB / 0.8077 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.9139, allocations: 7.844 kB / 0.8077 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.9139, allocations: 0 / 0.8077 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.9141, allocations: 331 kB / 0.808 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.291e-05/0.9141, allocations: 8 kB / 0.808 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.63e-05/0.9142, allocations: 21.7 kB / 0.8081 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.713e-05/0.9142, allocations: 12 kB / 0.8081 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9142, allocations: 0 / 0.8081 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001379/0.9144, allocations: 61.55 kB / 0.8081 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.9144, allocations: 4 kB / 0.8081 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.9144, allocations: 4.062 kB / 0.8081 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.9144, allocations: 0 / 0.8081 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.9146, allocations: 11.98 kB / 0.8081 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.9146, allocations: 0 / 0.8081 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.454e-05/0.9146, allocations: 3.906 kB / 0.8081 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.9147, allocations: 4 kB / 0.8082 GB, free: 14.21 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 () * 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 0.0001055/0.9148, allocations: 117.8 kB / 0.8083 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.9148, allocations: 7.906 kB / 0.8083 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.9149, allocations: 16.55 kB / 0.8083 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.9149, allocations: 7.938 kB / 0.8083 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.9149, allocations: 0 / 0.8083 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.9149, allocations: 0 / 0.8083 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/0.9155, allocations: 473.3 kB / 0.8087 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.9155, allocations: 3.938 kB / 0.8088 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.9155, allocations: 7.984 kB / 0.8088 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.9155, allocations: 0 / 0.8088 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.9156, allocations: 4.062 kB / 0.8088 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.9156, allocations: 11.94 kB / 0.8088 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.9156, allocations: 0 / 0.8088 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.9157, allocations: 83.58 kB / 0.8089 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.497e-05/0.9158, allocations: 96.91 kB / 0.8089 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.9158, allocations: 0 / 0.8089 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.949e-05/0.9159, allocations: 8.031 kB / 0.809 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.9159, allocations: 0 / 0.809 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.9159, allocations: 3.938 kB / 0.809 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001444/0.9161, allocations: 137.5 kB / 0.8091 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9161, allocations: 0 / 0.8091 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002342/0.9163, allocations: 11.94 kB / 0.8091 GB, free: 13.12 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 () * 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.000442/0.9168, allocations: 0.6993 MB / 0.8098 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001092/0.9169, allocations: 19.94 kB / 0.8098 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9169, allocations: 4 kB / 0.8098 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/0.917, allocations: 4 kB / 0.8098 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.9171, allocations: 14.12 kB / 0.8098 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.9183, allocations: 0.7435 MB / 0.8106 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.9186, allocations: 0.7005 MB / 0.8112 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.596e-05/0.9187, allocations: 8.422 kB / 0.8112 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.492e-05/0.9188, allocations: 31.36 kB / 0.8113 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of SimCode: time 7.92e-07/0.9188, allocations: 4 kB / 0.8113 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.9414, allocations: 1.571 MB / 0.8128 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003193/0.9418, allocations: 192.2 kB / 0.813 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/3.16, allocations: 11.11 kB / 0.813 GB, free: 9.062 MB / 0.6355 GB