Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 193.2 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.582/1.582, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 67.97 kB / 0.6709 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1745, allocations: 114.5 MB / 0.7828 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001734/0.1763, allocations: 0.9138 MB / 0.7837 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 7.998e-05/0.1764, allocations: 43.72 kB / 0.7837 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.563e-05/0.1764, allocations: 4 kB / 0.7837 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.1765, allocations: 7.922 kB / 0.7837 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.924e-05/0.1765, allocations: 3.938 kB / 0.7837 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.378e-05/0.1766, allocations: 19.98 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.128e-05/0.1767, allocations: 59.8 kB / 0.7838 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.866e-05/0.1768, allocations: 49.34 kB / 0.7839 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.287e-05/0.1768, allocations: 23.88 kB / 0.7839 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.418e-05/0.1768, allocations: 39.72 kB / 0.7839 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1769, allocations: 8 kB / 0.7839 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.518e-06/0.1769, allocations: 4 kB / 0.7839 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.1769, allocations: 15.92 kB / 0.784 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.1769, allocations: 23.81 kB / 0.784 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.231e-05/0.177, allocations: 87.89 kB / 0.7841 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.177, allocations: 0 / 0.7841 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.22e-07/0.177, allocations: 3.938 kB / 0.7841 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.454e-06/0.177, allocations: 0 / 0.7841 GB, free: 12.56 MB / 0.6075 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.0003078/0.1773, allocations: 387.2 kB / 0.7844 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.645e-05/0.1774, allocations: 8.031 kB / 0.7844 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.046e-05/0.1774, allocations: 42.73 kB / 0.7845 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.236e-05/0.1774, allocations: 12.75 kB / 0.7845 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.1776, allocations: 203 kB / 0.7847 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/0.1776, allocations: 4.375 kB / 0.7847 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.1776, allocations: 8.375 kB / 0.7847 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1778, allocations: 98.59 kB / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.1778, allocations: 3.938 kB / 0.7848 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1778, allocations: 8 kB / 0.7848 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-06/0.1778, allocations: 0 / 0.7848 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.684e-05/0.1779, allocations: 39.92 kB / 0.7848 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.1783, allocations: 449.5 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.144e-05/0.1784, allocations: 45.34 kB / 0.7853 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.177e-05/0.1784, allocations: 13.78 kB / 0.7853 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.575e-06/0.1784, allocations: 0 / 0.7853 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.1784, allocations: 34.56 kB / 0.7854 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.1784, allocations: 0 / 0.7854 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001389/0.1786, allocations: 65.47 kB / 0.7854 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.1786, allocations: 77.11 kB / 0.7855 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.1787, allocations: 171.2 kB / 0.7857 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.1787, allocations: 29.7 kB / 0.7857 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.1788, allocations: 111.9 kB / 0.7858 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.592e-06/0.1788, allocations: 7.906 kB / 0.7858 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.1788, allocations: 17.7 kB / 0.7858 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.388e-05/0.1789, allocations: 315.1 kB / 0.7861 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.179, allocations: 15.98 kB / 0.7861 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.219e-05/0.179, allocations: 21.72 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.691e-05/0.179, allocations: 21.72 kB / 0.7862 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.179, allocations: 0 / 0.7862 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.234e-05/0.1791, allocations: 65.53 kB / 0.7862 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.1791, allocations: 12 kB / 0.7862 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1792, allocations: 4 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/0.1792, allocations: 0 / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.074e-05/0.1792, allocations: 4 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.1792, allocations: 0 / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/0.1793, allocations: 7.906 kB / 0.7863 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-06/0.1793, allocations: 0 / 0.7863 GB, free: 10.03 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.308e-05/0.1793, allocations: 121.7 kB / 0.7864 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.1794, allocations: 27.7 kB / 0.7864 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.934e-05/0.1794, allocations: 12.56 kB / 0.7864 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1794, allocations: 0 / 0.7864 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1794, allocations: 4 kB / 0.7864 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-06/0.1794, allocations: 0 / 0.7864 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003483/0.1798, allocations: 482.8 kB / 0.7869 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1798, allocations: 4 kB / 0.7869 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.141e-05/0.1798, allocations: 0 / 0.7869 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1798, allocations: 4 kB / 0.7869 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.1798, allocations: 4.062 kB / 0.7869 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1798, allocations: 0 / 0.7869 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1798, allocations: 0 / 0.7869 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.297e-05/0.1799, allocations: 85.83 kB / 0.787 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.18, allocations: 88.92 kB / 0.7871 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.18, allocations: 0 / 0.7871 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.677e-05/0.18, allocations: 8.016 kB / 0.7871 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.18, allocations: 8.016 kB / 0.7871 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1801, allocations: 4 kB / 0.7871 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.661e-05/0.1801, allocations: 124 kB / 0.7872 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1801, allocations: 0 / 0.7872 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001769/0.1803, allocations: 8 kB / 0.7872 GB, free: 8.953 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002912/0.1806, allocations: 0.6171 MB / 0.7878 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.018e-05/0.1807, allocations: 19.94 kB / 0.7878 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1807, allocations: 0 / 0.7878 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.314e-05/0.1807, allocations: 8 kB / 0.7878 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.1808, allocations: 8 kB / 0.7878 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009964/0.1818, allocations: 1.393 MB / 0.7892 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.1821, allocations: 0.7004 MB / 0.7899 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.766e-05/0.1821, allocations: 8.438 kB / 0.7899 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.1821, allocations: 23.42 kB / 0.7899 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.1821, allocations: 4 kB / 0.7899 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00902/0.1912, allocations: 1.532 MB / 0.7914 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/0.1913, allocations: 202 kB / 0.7916 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.498/1.689, allocations: 4 kB / 0.7916 GB, free: 4.344 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1)