Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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_BtuPerHour,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",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.0008559/0.0008559, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006846/0.006847, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.344/1.344, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.619/1.619, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005467/0.0005467, allocations: 22.03 kB / 0.6744 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1943, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.0009742/0.1953, allocations: 0.5633 MB / 0.7885 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001026/0.1954, allocations: 43.78 kB / 0.7886 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/0.1955, allocations: 4 kB / 0.7886 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.1955, allocations: 15.8 kB / 0.7886 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.095e-05/0.1956, allocations: 7.938 kB / 0.7886 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.253e-05/0.1957, allocations: 15.98 kB / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.201e-05/0.1958, allocations: 59.84 kB / 0.7887 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.1959, allocations: 41.36 kB / 0.7887 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.352e-05/0.196, allocations: 23.81 kB / 0.7888 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.748e-05/0.196, allocations: 23.8 kB / 0.7888 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.1961, allocations: 0 / 0.7888 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-06/0.1961, allocations: 8 kB / 0.7888 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.1961, allocations: 11.92 kB / 0.7888 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.1962, allocations: 53.45 kB / 0.7888 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.213e-05/0.1962, allocations: 75.89 kB / 0.7889 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1963, allocations: 0 / 0.7889 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1963, allocations: 4 kB / 0.7889 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.1963, allocations: 0 / 0.7889 GB, free: 10.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.0003865/0.1967, allocations: 375.2 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.1967, allocations: 8.031 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.1968, allocations: 42.75 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.1968, allocations: 12.83 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.197, allocations: 195.4 kB / 0.7895 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.197, allocations: 12.28 kB / 0.7895 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.197, allocations: 4.375 kB / 0.7895 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1972, allocations: 95.94 kB / 0.7896 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1972, allocations: 7.875 kB / 0.7896 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.1972, allocations: 0 / 0.7896 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1972, allocations: 4 kB / 0.7896 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.386e-05/0.1973, allocations: 39.98 kB / 0.7897 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005465/0.1978, allocations: 452.6 kB / 0.7901 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.673e-05/0.1979, allocations: 50.22 kB / 0.7902 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.1979, allocations: 17.78 kB / 0.7902 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.198, allocations: 3.984 kB / 0.7902 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.198, allocations: 34.5 kB / 0.7902 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.198, allocations: 0 / 0.7902 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001556/0.1981, allocations: 57.53 kB / 0.7903 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.1982, allocations: 85.3 kB / 0.7904 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1983, allocations: 175.3 kB / 0.7905 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.1984, allocations: 25.7 kB / 0.7905 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.1984, allocations: 108 kB / 0.7906 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.085e-06/0.1984, allocations: 3.906 kB / 0.7906 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.03e-05/0.1985, allocations: 13.66 kB / 0.7907 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1986, allocations: 322.8 kB / 0.791 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.722e-05/0.1986, allocations: 8 kB / 0.791 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.293e-05/0.1986, allocations: 25.7 kB / 0.791 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.153e-05/0.1987, allocations: 25.72 kB / 0.791 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1987, allocations: 3.938 kB / 0.791 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.019e-05/0.1988, allocations: 57.61 kB / 0.7911 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1988, allocations: 7.938 kB / 0.7911 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1988, allocations: 3.984 kB / 0.7911 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.1988, allocations: 4.062 kB / 0.7911 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.872e-05/0.1989, allocations: 8 kB / 0.7911 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1989, allocations: 3.938 kB / 0.7911 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.073e-05/0.1989, allocations: 3.906 kB / 0.7911 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.1989, allocations: 4 kB / 0.7911 GB, free: 8.035 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 7.19e-05/0.199, allocations: 117.8 kB / 0.7912 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.1991, allocations: 11.84 kB / 0.7912 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.1991, allocations: 16.55 kB / 0.7913 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1991, allocations: 0 / 0.7913 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1991, allocations: 4 kB / 0.7913 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1991, allocations: 0 / 0.7913 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.1995, allocations: 478.8 kB / 0.7917 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1995, allocations: 0 / 0.7917 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.487e-05/0.1995, allocations: 7.984 kB / 0.7917 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.1995, allocations: 0 / 0.7917 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1996, allocations: 3.938 kB / 0.7917 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.1996, allocations: 4.062 kB / 0.7917 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1996, allocations: 4 kB / 0.7917 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.366e-05/0.1997, allocations: 85.69 kB / 0.7918 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.1997, allocations: 89 kB / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.1998, allocations: 0 / 0.7919 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.44e-05/0.1998, allocations: 4 kB / 0.7919 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.1998, allocations: 4.031 kB / 0.7919 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.1998, allocations: 0 / 0.7919 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001032/0.1999, allocations: 131.9 kB / 0.792 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1999, allocations: 0 / 0.792 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001759/0.2001, allocations: 8 kB / 0.792 GB, free: 6.973 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.0004749/0.2006, allocations: 0.6171 MB / 0.7926 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.887e-05/0.2007, allocations: 19.94 kB / 0.7927 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2007, allocations: 0 / 0.7927 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.352e-05/0.2007, allocations: 8 kB / 0.7927 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.2009, allocations: 11.94 kB / 0.7927 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.2022, allocations: 1.389 MB / 0.794 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.2025, allocations: 0.6965 MB / 0.7947 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.2025, allocations: 8.422 kB / 0.7947 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.2026, allocations: 27.42 kB / 0.7948 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.2026, allocations: 0 / 0.7948 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01076/0.2134, allocations: 1.468 MB / 0.7962 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/0.2136, allocations: 226.6 kB / 0.7964 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/1.764, allocations: 0 / 0.7964 GB, free: 2.465 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)