Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.To_quad,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",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.0008242/0.0008242, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.0047/0.0047, allocations: 172.3 kB / 16.26 MB, free: 6.676 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.156/1.156, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.516/1.516, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004568/0.0004569, allocations: 22.64 kB / 0.6744 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1663, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.0008054/0.1672, allocations: 0.5633 MB / 0.7885 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 9.797e-05/0.1673, allocations: 47.78 kB / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.1673, allocations: 0 / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.157e-05/0.1674, allocations: 11.92 kB / 0.7886 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.167e-05/0.1674, allocations: 3.938 kB / 0.7886 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.459e-05/0.1675, allocations: 15.98 kB / 0.7886 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.819e-05/0.1676, allocations: 67.78 kB / 0.7887 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1677, allocations: 41.38 kB / 0.7887 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.336e-05/0.1677, allocations: 23.8 kB / 0.7887 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.279e-05/0.1678, allocations: 27.8 kB / 0.7888 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.1678, allocations: 0 / 0.7888 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.394e-06/0.1678, allocations: 4 kB / 0.7888 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.1678, allocations: 7.938 kB / 0.7888 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.1679, allocations: 57.44 kB / 0.7888 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.861e-05/0.168, allocations: 79.83 kB / 0.7889 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.168, allocations: 0 / 0.7889 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.168, allocations: 4 kB / 0.7889 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.168, allocations: 0 / 0.7889 GB, free: 10.5 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.0003039/0.1683, allocations: 375.2 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1683, allocations: 8.031 kB / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.1684, allocations: 42.73 kB / 0.7893 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.1684, allocations: 8.844 kB / 0.7893 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.1685, allocations: 199.2 kB / 0.7895 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1686, allocations: 12.28 kB / 0.7895 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.1686, allocations: 8.375 kB / 0.7895 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.1687, allocations: 90.61 kB / 0.7896 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.1687, allocations: 3.938 kB / 0.7896 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.1687, allocations: 4 kB / 0.7896 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1687, allocations: 0 / 0.7896 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.968e-05/0.1688, allocations: 39.92 kB / 0.7897 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004339/0.1693, allocations: 456.4 kB / 0.7901 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.607e-05/0.1693, allocations: 46.41 kB / 0.7902 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.1694, allocations: 17.78 kB / 0.7902 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.1694, allocations: 0 / 0.7902 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.1694, allocations: 34.56 kB / 0.7902 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.1694, allocations: 0 / 0.7902 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001416/0.1695, allocations: 61.47 kB / 0.7903 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.1696, allocations: 77.11 kB / 0.7903 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.1697, allocations: 175.3 kB / 0.7905 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.1697, allocations: 25.7 kB / 0.7905 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.1698, allocations: 116.2 kB / 0.7906 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.338e-06/0.1698, allocations: 7.891 kB / 0.7906 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.902e-05/0.1698, allocations: 9.719 kB / 0.7907 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.525e-05/0.1699, allocations: 318.8 kB / 0.791 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.1699, allocations: 11.98 kB / 0.791 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.091e-05/0.17, allocations: 17.72 kB / 0.791 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.926e-05/0.17, allocations: 29.72 kB / 0.791 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.17, allocations: 0 / 0.791 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.929e-05/0.1701, allocations: 61.53 kB / 0.7911 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1701, allocations: 11.94 kB / 0.7911 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1701, allocations: 0 / 0.7911 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.1701, allocations: 0 / 0.7911 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.188e-05/0.1702, allocations: 4 kB / 0.7911 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1702, allocations: 4 kB / 0.7911 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.958e-05/0.1702, allocations: 7.844 kB / 0.7911 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.1702, allocations: 8.062 kB / 0.7911 GB, free: 7.988 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 5.92e-05/0.1703, allocations: 126.6 kB / 0.7912 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.1704, allocations: 15.83 kB / 0.7912 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.192e-05/0.1704, allocations: 8.562 kB / 0.7913 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1704, allocations: 4 kB / 0.7913 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.1704, allocations: 0 / 0.7913 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.1704, allocations: 0 / 0.7913 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.1707, allocations: 486.8 kB / 0.7917 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1707, allocations: 0 / 0.7917 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.336e-05/0.1708, allocations: 4 kB / 0.7917 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1708, allocations: 3.938 kB / 0.7917 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.1708, allocations: 0 / 0.7917 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1708, allocations: 0 / 0.7917 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.1708, allocations: 4 kB / 0.7917 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.532e-05/0.1709, allocations: 85.8 kB / 0.7918 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.172e-05/0.1709, allocations: 89.02 kB / 0.7919 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.1709, allocations: 3.984 kB / 0.7919 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.21e-05/0.171, allocations: 0 / 0.7919 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.171, allocations: 7.938 kB / 0.7919 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.171, allocations: 0 / 0.7919 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.588e-05/0.1711, allocations: 128 kB / 0.792 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1711, allocations: 0 / 0.792 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001719/0.1713, allocations: 8 kB / 0.792 GB, free: 6.922 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.0002706/0.1715, allocations: 0.6172 MB / 0.7926 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.926e-05/0.1716, allocations: 15.94 kB / 0.7927 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1716, allocations: 8.156 kB / 0.7927 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.1716, allocations: 8 kB / 0.7927 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.1718, allocations: 0 / 0.7927 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009635/0.1727, allocations: 1.4 MB / 0.794 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.1729, allocations: 0.6965 MB / 0.7947 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.925e-05/0.173, allocations: 4.438 kB / 0.7947 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.173, allocations: 31.36 kB / 0.7948 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of SimCode: time 1.392e-06/0.173, allocations: 4 kB / 0.7948 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.934/5.107, allocations: 1.466 MB / 0.7962 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/5.107, allocations: 200.1 kB / 0.7964 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.93/8.037, allocations: 7.938 kB / 0.7964 GB, free: 2.398 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1)