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_gal.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_gal,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",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.01047/0.01048, allocations: 106.2 kB / 15.06 MB, free: 5.949 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.001123/0.001123, allocations: 187.1 kB / 15.95 MB, free: 5.902 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.93/1.93, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.295/2.295, allocations: 236.1 MB / 492.6 MB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004822, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6447/0.6452, allocations: 98.72 MB / 0.6834 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001405/0.6466, allocations: 0.5447 MB / 0.684 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001778/0.6468, allocations: 48.39 kB / 0.684 GB, free: 16.47 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.39e-05/0.6469, allocations: 1 kB / 0.684 GB, free: 16.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.647, allocations: 10.44 kB / 0.684 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.6471, allocations: 10.38 kB / 0.684 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 6.745e-05/0.6472, allocations: 15.55 kB / 0.684 GB, free: 16.45 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.6473, allocations: 38.12 kB / 0.6841 GB, free: 16.43 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.6475, allocations: 33.58 kB / 0.6841 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.343e-05/0.6476, allocations: 20.77 kB / 0.6841 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.131e-05/0.6477, allocations: 25.89 kB / 0.6842 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.6477, allocations: 1.062 kB / 0.6842 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.6477, allocations: 2 kB / 0.6842 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.6478, allocations: 11.73 kB / 0.6842 GB, free: 16.37 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.6478, allocations: 37.45 kB / 0.6842 GB, free: 16.33 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.648, allocations: 55.59 kB / 0.6843 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.648, allocations: 0 / 0.6843 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.983e-06/0.648, allocations: 0 / 0.6843 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.648, allocations: 0 / 0.6843 GB, free: 16.32 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.0004826/0.6485, allocations: 377.2 kB / 0.6846 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.6486, allocations: 9.531 kB / 0.6846 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.6487, allocations: 39.34 kB / 0.6847 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.6487, allocations: 16.59 kB / 0.6847 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.649, allocations: 192.6 kB / 0.6849 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.649, allocations: 7.781 kB / 0.6849 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.649, allocations: 9.031 kB / 0.6849 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.6493, allocations: 98.55 kB / 0.685 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.6493, allocations: 0 / 0.685 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.6494, allocations: 5.781 kB / 0.685 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.6494, allocations: 5.438 kB / 0.685 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.6496, allocations: 40.58 kB / 0.685 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000785/0.6504, allocations: 450.1 kB / 0.6855 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.284e-05/0.6504, allocations: 41.53 kB / 0.6855 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.6505, allocations: 1.859 kB / 0.6855 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.6505, allocations: 32.06 kB / 0.6855 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/0.6505, allocations: 7.938 kB / 0.6855 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002651/0.6508, allocations: 59.39 kB / 0.6856 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.6509, allocations: 77.86 kB / 0.6857 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.6512, allocations: 168.2 kB / 0.6858 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.6512, allocations: 25.7 kB / 0.6859 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.158e-05/0.6513, allocations: 104.8 kB / 0.686 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.6513, allocations: 5.094 kB / 0.686 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-06/0.6513, allocations: 4 kB / 0.686 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.096e-05/0.6514, allocations: 325.6 kB / 0.6863 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.77e-05/0.6515, allocations: 4.422 kB / 0.6863 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.674e-05/0.6515, allocations: 20.45 kB / 0.6863 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.257e-05/0.6516, allocations: 17.11 kB / 0.6863 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6516, allocations: 0 / 0.6863 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001706/0.6518, allocations: 58.5 kB / 0.6864 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.6518, allocations: 6.484 kB / 0.6864 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.6518, allocations: 4 kB / 0.6864 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.6519, allocations: 2.375 kB / 0.6864 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.652, allocations: 4.984 kB / 0.6864 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.652, allocations: 5.75 kB / 0.6864 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.536e-05/0.6521, allocations: 9.844 kB / 0.6864 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.6521, allocations: 2.031 kB / 0.6864 GB, free: 14.25 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.656e-05/0.6522, allocations: 117.6 kB / 0.6865 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.905e-05/0.6523, allocations: 13.45 kB / 0.6865 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.6524, allocations: 17.45 kB / 0.6865 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.6524, allocations: 0.9688 kB / 0.6865 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6524, allocations: 1.031 kB / 0.6865 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6524, allocations: 2.031 kB / 0.6865 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006506/0.6531, allocations: 474.8 kB / 0.687 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.6531, allocations: 0.9375 kB / 0.687 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.915e-05/0.6532, allocations: 3.078 kB / 0.687 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.6532, allocations: 2.109 kB / 0.687 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.6532, allocations: 5.5 kB / 0.687 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.6532, allocations: 0 / 0.687 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.6533, allocations: 1.812 kB / 0.687 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.6534, allocations: 103.1 kB / 0.6871 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-05/0.6535, allocations: 95.12 kB / 0.6872 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.6536, allocations: 6.016 kB / 0.6872 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.653e-05/0.6536, allocations: 0 / 0.6872 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.6537, allocations: 1.594 kB / 0.6872 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.6537, allocations: 5.812 kB / 0.6872 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001651/0.6538, allocations: 123.4 kB / 0.6873 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.11e-07/0.6539, allocations: 0 / 0.6873 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004373/0.6543, allocations: 15.36 kB / 0.6873 GB, free: 13.3 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.0004293/0.6548, allocations: 0.6975 MB / 0.688 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.6549, allocations: 17.33 kB / 0.688 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6549, allocations: 0 / 0.688 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.652e-05/0.655, allocations: 12.25 kB / 0.6881 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.6552, allocations: 11.69 kB / 0.6881 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.6567, allocations: 0.7479 MB / 0.6888 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.657, allocations: 0.6994 MB / 0.6895 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.422e-05/0.657, allocations: 6.609 kB / 0.6895 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.691e-05/0.6571, allocations: 29.95 kB / 0.6895 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of SimCode: time 8.91e-07/0.6571, allocations: 0 / 0.6895 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06762/0.7248, allocations: 1.572 MB / 0.6911 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/0.7251, allocations: 185 kB / 0.6912 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.211/2.936, allocations: 9.125 kB / 0.6912 GB, free: 10.8 MB / 0.5261 GB