Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.322/1.322, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008429/0.0008428, allocations: 183.4 kB / 325.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205 MB / 0.576 GB, free: 21.05 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000688/0.000688, allocations: 89.12 kB / 0.6797 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003642, allocations: 12.16 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1892, allocations: 105.4 MB / 0.8962 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.0008372/0.1901, allocations: 0.6037 MB / 0.8968 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 8.496e-05/0.1902, allocations: 35.8 kB / 0.8968 GB, free: 67.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.1902, allocations: 4 kB / 0.8968 GB, free: 67.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.1903, allocations: 7.922 kB / 0.8968 GB, free: 67.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.725e-05/0.1904, allocations: 7.922 kB / 0.8968 GB, free: 67.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.473e-05/0.1904, allocations: 19.98 kB / 0.8969 GB, free: 67.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.608e-05/0.1905, allocations: 67.78 kB / 0.8969 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1906, allocations: 37.61 kB / 0.897 GB, free: 67.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.703e-05/0.1906, allocations: 23.81 kB / 0.897 GB, free: 67.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.937e-05/0.1907, allocations: 31.78 kB / 0.897 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1907, allocations: 4 kB / 0.897 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.913e-06/0.1907, allocations: 0 / 0.897 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.1907, allocations: 7.938 kB / 0.897 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.1908, allocations: 27.75 kB / 0.8971 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.267e-05/0.1908, allocations: 75.72 kB / 0.8971 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1909, allocations: 3.938 kB / 0.8971 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1909, allocations: 0 / 0.8971 GB, free: 67.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.1909, allocations: 0 / 0.8971 GB, free: 67.19 MB / 0.6042 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.0002773/0.1912, allocations: 367.3 kB / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.1912, allocations: 8.031 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.147e-05/0.1912, allocations: 46.67 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.077e-05/0.1913, allocations: 12.75 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.1914, allocations: 196.2 kB / 0.8977 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.1914, allocations: 8.375 kB / 0.8977 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.1914, allocations: 8.375 kB / 0.8978 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.1915, allocations: 107 kB / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1915, allocations: 3.938 kB / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.1916, allocations: 0 / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1916, allocations: 4 kB / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.797e-05/0.1916, allocations: 35.98 kB / 0.8979 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/0.192, allocations: 448.5 kB / 0.8983 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.804e-05/0.1921, allocations: 37.16 kB / 0.8984 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.1921, allocations: 17.88 kB / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.263e-06/0.1921, allocations: 0 / 0.8984 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.1921, allocations: 34.56 kB / 0.8984 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.923e-06/0.1921, allocations: 4 kB / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001294/0.1923, allocations: 61.47 kB / 0.8985 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.1923, allocations: 81.11 kB / 0.8985 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.1924, allocations: 166.2 kB / 0.8987 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.1924, allocations: 25.7 kB / 0.8987 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.1925, allocations: 111.9 kB / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.161e-06/0.1925, allocations: 3.906 kB / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.1925, allocations: 17.72 kB / 0.8989 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.627e-05/0.1926, allocations: 327.1 kB / 0.8992 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.1926, allocations: 4 kB / 0.8992 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/0.1926, allocations: 29.64 kB / 0.8992 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.311e-05/0.1926, allocations: 29.66 kB / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1927, allocations: 0 / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.556e-05/0.1927, allocations: 61.66 kB / 0.8993 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.1927, allocations: 11.94 kB / 0.8993 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1927, allocations: 3.938 kB / 0.8993 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1928, allocations: 7.938 kB / 0.8993 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/0.1928, allocations: 4 kB / 0.8993 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.1928, allocations: 0 / 0.8993 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/0.1929, allocations: 7.938 kB / 0.8993 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.1929, allocations: 0 / 0.8993 GB, free: 64.67 MB / 0.6042 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 4.869e-05/0.1929, allocations: 113.8 kB / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.193, allocations: 15.75 kB / 0.8994 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/0.193, allocations: 20.55 kB / 0.8995 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.193, allocations: 0 / 0.8995 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.193, allocations: 0 / 0.8995 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.193, allocations: 4 kB / 0.8995 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.1933, allocations: 474.8 kB / 0.8999 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1933, allocations: 0 / 0.8999 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-05/0.1933, allocations: 4 kB / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1933, allocations: 4.062 kB / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1933, allocations: 4 kB / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1933, allocations: 0 / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1933, allocations: 0 / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.679e-05/0.1934, allocations: 85.77 kB / 0.9 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.1934, allocations: 85.11 kB / 0.9001 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.1935, allocations: 12.02 kB / 0.9001 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.302e-05/0.1935, allocations: 4 kB / 0.9001 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-06/0.1935, allocations: 0 / 0.9001 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.1935, allocations: 3.984 kB / 0.9001 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.124e-05/0.1936, allocations: 124.9 kB / 0.9002 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1936, allocations: 0 / 0.9002 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001674/0.1937, allocations: 8 kB / 0.9002 GB, free: 63.62 MB / 0.6042 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.0002256/0.194, allocations: 0.6248 MB / 0.9009 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.286e-05/0.194, allocations: 20 kB / 0.9009 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1941, allocations: 0 / 0.9009 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-05/0.1941, allocations: 7.938 kB / 0.9009 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.1942, allocations: 8.281 kB / 0.9009 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008302/0.1951, allocations: 1.411 MB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.1952, allocations: 0.6965 MB / 0.9029 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.84e-05/0.1952, allocations: 4.438 kB / 0.903 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.1953, allocations: 23.42 kB / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of SimCode: time 6.11e-07/0.1953, allocations: 0 / 0.903 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/0.3058, allocations: 1.465 MB / 0.9044 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.3061, allocations: 222.4 kB / 0.9046 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/1.927, allocations: 0 / 0.9046 GB, free: 59.12 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1)