Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.46/1.46, allocations: 287.4 MB / 302.6 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 184.5 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.221/1.221, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006421/0.0006422, allocations: 98.42 kB / 0.7431 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003519, allocations: 12.72 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1644, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.00074/0.1652, allocations: 0.5365 MB / 0.9793 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 9.294e-05/0.1653, allocations: 47.77 kB / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.1653, allocations: 0 / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.535e-05/0.1653, allocations: 3.938 kB / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.615e-05/0.1654, allocations: 3.938 kB / 0.9793 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.45e-05/0.1655, allocations: 15.98 kB / 0.9793 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.627e-05/0.1655, allocations: 63.78 kB / 0.9794 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1657, allocations: 45.38 kB / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.793e-05/0.1657, allocations: 19.86 kB / 0.9795 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.532e-05/0.1658, allocations: 23.8 kB / 0.9795 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.1658, allocations: 0 / 0.9795 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.1658, allocations: 8 kB / 0.9795 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.152e-05/0.1658, allocations: 7.938 kB / 0.9795 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.515e-05/0.1658, allocations: 37.64 kB / 0.9795 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.778e-05/0.1659, allocations: 60.08 kB / 0.9796 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1659, allocations: 0 / 0.9796 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1659, allocations: 0 / 0.9796 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.1659, allocations: 0 / 0.9796 GB, free: 27.23 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.000273/0.1662, allocations: 379.2 kB / 0.9799 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1662, allocations: 8.031 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.671e-05/0.1663, allocations: 46.69 kB / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.188e-05/0.1663, allocations: 8.844 kB / 0.98 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.1664, allocations: 192.2 kB / 0.9802 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1664, allocations: 12.28 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.1665, allocations: 4.375 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.1666, allocations: 91.89 kB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1666, allocations: 3.938 kB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.1666, allocations: 8 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1666, allocations: 4 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.179e-05/0.1667, allocations: 35.98 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.1671, allocations: 440.5 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.96e-05/0.1671, allocations: 45.28 kB / 0.9808 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.1672, allocations: 21.73 kB / 0.9808 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/0.1672, allocations: 4 kB / 0.9808 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.258e-05/0.1672, allocations: 30.56 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1672, allocations: 0 / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.00014/0.1674, allocations: 57.7 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.1674, allocations: 89.08 kB / 0.981 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.1675, allocations: 169 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.635e-06/0.1675, allocations: 25.7 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.1676, allocations: 112 kB / 0.9813 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.021e-06/0.1676, allocations: 3.906 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.1676, allocations: 4 kB / 0.9813 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.273e-05/0.1676, allocations: 318.8 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.1676, allocations: 8 kB / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.773e-05/0.1677, allocations: 21.72 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.585e-05/0.1677, allocations: 29.66 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1677, allocations: 3.938 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.95e-05/0.1678, allocations: 61.59 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.1678, allocations: 7.938 kB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1678, allocations: 0 / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1678, allocations: 8 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.536e-05/0.1679, allocations: 8 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.1679, allocations: 0 / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.946e-05/0.1679, allocations: 3.906 kB / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.1679, allocations: 4 kB / 0.9818 GB, free: 24.74 MB / 0.6198 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 4.652e-05/0.168, allocations: 127.1 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.168, allocations: 11.84 kB / 0.9819 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.002e-05/0.1681, allocations: 16.56 kB / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.1681, allocations: 0 / 0.9819 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.1681, allocations: 4 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1681, allocations: 0 / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.1683, allocations: 482.8 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1683, allocations: 0 / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.1684, allocations: 4 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1684, allocations: 0 / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-06/0.1684, allocations: 0 / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1684, allocations: 4.062 kB / 0.9824 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1684, allocations: 4 kB / 0.9824 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.558e-05/0.1685, allocations: 85.77 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.1685, allocations: 96.98 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.1685, allocations: 0 / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.248e-05/0.1685, allocations: 0 / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-06/0.1686, allocations: 8.031 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.1686, allocations: 0 / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.707e-05/0.1686, allocations: 128.2 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1686, allocations: 4 kB / 0.9827 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001546/0.1688, allocations: 4 kB / 0.9827 GB, free: 23.67 MB / 0.6198 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.0001864/0.169, allocations: 0.6268 MB / 0.9833 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.284e-05/0.1691, allocations: 16 kB / 0.9833 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1691, allocations: 0 / 0.9833 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/0.1691, allocations: 11.94 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.1692, allocations: 14.33 kB / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.1698, allocations: 0.5818 MB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.036e-05/0.1699, allocations: 0.7004 MB / 0.9846 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.857e-05/0.1699, allocations: 8.422 kB / 0.9846 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.17, allocations: 23.44 kB / 0.9846 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.17, allocations: 0 / 0.9846 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09779/0.2678, allocations: 1.582 MB / 0.9862 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001497/0.268, allocations: 199.8 kB / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/1.856, allocations: 0 / 0.9864 GB, free: 19.91 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)