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.0111/0.0111, allocations: 106 kB / 15.06 MB, free: 5.555 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.001226/0.001226, allocations: 184 kB / 15.95 MB, free: 5.52 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.952/1.952, allocations: 194.5 MB / 211.3 MB, free: 10.92 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.353/2.353, allocations: 236.1 MB / 492.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005026/0.0005027, allocations: 12 kB / 0.587 GB, free: 2.008 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6821/0.6826, allocations: 98.72 MB / 0.6834 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001504/0.6842, allocations: 0.5459 MB / 0.684 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001865/0.6844, allocations: 46.91 kB / 0.684 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.6845, allocations: 1.031 kB / 0.684 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.6846, allocations: 6 kB / 0.684 GB, free: 16.42 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.6847, allocations: 14.58 kB / 0.684 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 7.284e-05/0.6848, allocations: 15.11 kB / 0.684 GB, free: 16.4 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.685, allocations: 38.42 kB / 0.6841 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.6852, allocations: 34.34 kB / 0.6841 GB, free: 16.36 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.531e-05/0.6853, allocations: 20.09 kB / 0.6841 GB, free: 16.35 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.428e-05/0.6854, allocations: 21.3 kB / 0.6842 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.6854, allocations: 2.094 kB / 0.6842 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.471e-05/0.6854, allocations: 6.094 kB / 0.6842 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.6855, allocations: 12.11 kB / 0.6842 GB, free: 16.33 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.6855, allocations: 37.36 kB / 0.6842 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.6857, allocations: 54.28 kB / 0.6843 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6857, allocations: 0 / 0.6843 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6858, allocations: 1.375 kB / 0.6843 GB, free: 16.28 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.6858, allocations: 0 / 0.6843 GB, free: 16.28 MB / 0.5261 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.0005366/0.6863, allocations: 373 kB / 0.6846 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.6864, allocations: 9.125 kB / 0.6846 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.6865, allocations: 46.03 kB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.6865, allocations: 13.69 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.6868, allocations: 201.2 kB / 0.6849 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.6869, allocations: 7.344 kB / 0.6849 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.6869, allocations: 9.031 kB / 0.6849 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.6872, allocations: 91.25 kB / 0.685 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.6872, allocations: 3.938 kB / 0.685 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.6872, allocations: 5.531 kB / 0.685 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.6873, allocations: 5.312 kB / 0.685 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.6875, allocations: 41.34 kB / 0.685 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008726/0.6883, allocations: 448.6 kB / 0.6855 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.131e-05/0.6884, allocations: 43.23 kB / 0.6855 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.6885, allocations: 0 / 0.6855 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.6885, allocations: 36.3 kB / 0.6855 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.064e-06/0.6885, allocations: 4.906 kB / 0.6855 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002855/0.6888, allocations: 54.7 kB / 0.6856 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.6889, allocations: 78.64 kB / 0.6857 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.6892, allocations: 172 kB / 0.6858 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.6892, allocations: 25.7 kB / 0.6859 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.6893, allocations: 100.3 kB / 0.686 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.6893, allocations: 10.16 kB / 0.686 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.6893, allocations: 0 / 0.686 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.28e-05/0.6894, allocations: 320.5 kB / 0.6863 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.888e-05/0.6895, allocations: 4.734 kB / 0.6863 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.442e-05/0.6896, allocations: 27.98 kB / 0.6863 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.616e-05/0.6896, allocations: 13.81 kB / 0.6863 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.6897, allocations: 1.594 kB / 0.6863 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001827/0.6898, allocations: 57.52 kB / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.6899, allocations: 6.062 kB / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.6899, allocations: 0 / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.6899, allocations: 5.562 kB / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.6901, allocations: 6.609 kB / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.6901, allocations: 1.672 kB / 0.6864 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.96e-05/0.6902, allocations: 13.81 kB / 0.6864 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.6902, allocations: 1.625 kB / 0.6864 GB, free: 14.2 MB / 0.5261 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.532e-05/0.6903, allocations: 117.5 kB / 0.6865 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.364e-05/0.6904, allocations: 10.14 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.6905, allocations: 13.86 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.6905, allocations: 0 / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.6905, allocations: 1.312 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.6905, allocations: 0.6094 kB / 0.6865 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006572/0.6912, allocations: 480.1 kB / 0.687 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.6912, allocations: 1.281 kB / 0.687 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.6913, allocations: 2.609 kB / 0.687 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.6913, allocations: 1.094 kB / 0.687 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.6914, allocations: 2.25 kB / 0.687 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.6914, allocations: 3.938 kB / 0.687 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.6914, allocations: 1.031 kB / 0.687 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.6916, allocations: 104.3 kB / 0.6871 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.6916, allocations: 95.34 kB / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.6917, allocations: 1.094 kB / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.155e-05/0.6918, allocations: 4.844 kB / 0.6872 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.6918, allocations: 1.312 kB / 0.6872 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.6918, allocations: 5.969 kB / 0.6872 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001722/0.692, allocations: 128.6 kB / 0.6873 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.31e-07/0.6921, allocations: 0 / 0.6873 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004458/0.6925, allocations: 12.14 kB / 0.6873 GB, free: 13.25 MB / 0.5261 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.00041/0.6929, allocations: 0.6966 MB / 0.688 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001413/0.6931, allocations: 16.36 kB / 0.688 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6931, allocations: 1.281 kB / 0.688 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.901e-05/0.6932, allocations: 12.31 kB / 0.6881 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.6934, allocations: 10.86 kB / 0.6881 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.695, allocations: 0.7476 MB / 0.6888 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.6953, allocations: 0.6992 MB / 0.6895 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.474e-05/0.6953, allocations: 10.67 kB / 0.6895 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.49e-05/0.6954, allocations: 25.78 kB / 0.6895 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of SimCode: time 1.012e-06/0.6955, allocations: 0 / 0.6895 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.7191, allocations: 1.578 MB / 0.6911 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/0.7194, allocations: 190.1 kB / 0.6912 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/2.971, allocations: 0 / 0.6912 GB, free: 10.75 MB / 0.5261 GB