Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.461/1.461, allocations: 288.4 MB / 303.6 MB, free: 8.051 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.0009258/0.0009257, allocations: 191.2 kB / 372.3 MB, free: 10.15 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.269/1.269, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.0007173/0.0007174, allocations: 89.33 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003856, allocations: 18.59 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1855, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan): time 0.0007264/0.1863, allocations: 391.2 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007482/0.1871, allocations: 0.801 MB / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.189e-05/0.1871, allocations: 4 kB / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.1872, allocations: 0 / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.954e-05/0.1872, allocations: 3.938 kB / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001231/0.1874, allocations: 11.98 kB / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.83e-05/0.1874, allocations: 15.94 kB / 0.9814 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.196e-05/0.1875, allocations: 15.98 kB / 0.9814 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.238e-05/0.1876, allocations: 4 kB / 0.9814 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.094e-05/0.1876, allocations: 15.91 kB / 0.9814 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1877, allocations: 11.94 kB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.1877, allocations: 0 / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.808e-06/0.1877, allocations: 0 / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.1877, allocations: 33.64 kB / 0.9815 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.987e-05/0.1878, allocations: 11.97 kB / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1878, allocations: 0 / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1878, allocations: 4 kB / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.1878, allocations: 0 / 0.9815 GB, free: 25.91 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000338/0.1882, allocations: 341.8 kB / 0.9818 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1882, allocations: 8.031 kB / 0.9818 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.533e-05/0.1882, allocations: 34.75 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.1883, allocations: 0.9375 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.953e-05/0.1883, allocations: 168.4 kB / 0.982 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.1884, allocations: 384 / 0.982 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.1884, allocations: 384 / 0.982 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.1885, allocations: 62.17 kB / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1886, allocations: 3.938 kB / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.1886, allocations: 4 kB / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1886, allocations: 0 / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.1887, allocations: 39.97 kB / 0.9821 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.189, allocations: 249 kB / 0.9824 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.1891, allocations: 42.5 kB / 0.9824 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/0.1892, allocations: 36.84 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.1892, allocations: 0 / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.1893, allocations: 34.55 kB / 0.9825 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1893, allocations: 0 / 0.9825 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000318/0.1896, allocations: 93.56 kB / 0.9826 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.1896, allocations: 55.41 kB / 0.9826 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.702e-05/0.1897, allocations: 105.8 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.1897, allocations: 25.7 kB / 0.9827 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.516e-05/0.1897, allocations: 88.08 kB / 0.9828 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.1897, allocations: 7.906 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.1897, allocations: 4.125 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.1898, allocations: 314.8 kB / 0.9831 GB, free: 24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.571e-05/0.1899, allocations: 23.92 kB / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-05/0.1899, allocations: 19.98 kB / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.1901, allocations: 56.81 kB / 0.9832 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1901, allocations: 3.938 kB / 0.9832 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001688/0.1903, allocations: 77.67 kB / 0.9833 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1903, allocations: 5.719 kB / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1903, allocations: 4 kB / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.1903, allocations: 0 / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.674e-05/0.1904, allocations: 11.98 kB / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1904, allocations: 0 / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.1905, allocations: 15.95 kB / 0.9833 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.1905, allocations: 4 kB / 0.9833 GB, free: 23.78 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 4.6e-05/0.1905, allocations: 113.8 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.1906, allocations: 0 / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.1908, allocations: 84.78 kB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1908, allocations: 0 / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1908, allocations: 0 / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1908, allocations: 4 kB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.1909, allocations: 169.5 kB / 0.9837 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1909, allocations: 0 / 0.9837 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.521e-05/0.191, allocations: 11.98 kB / 0.9837 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.191, allocations: 0 / 0.9837 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.191, allocations: 4.031 kB / 0.9837 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.191, allocations: 0 / 0.9837 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.191, allocations: 0 / 0.9837 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.1912, allocations: 187.3 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.1912, allocations: 77.11 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.1913, allocations: 4 kB / 0.984 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.1913, allocations: 11.98 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.1914, allocations: 0 / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1914, allocations: 0 / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.989e-05/0.1914, allocations: 79.28 kB / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1914, allocations: 0 / 0.9841 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001944/0.1916, allocations: 8 kB / 0.9841 GB, free: 22.94 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0003794/0.192, allocations: 0.7163 MB / 0.9848 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001883/0.1922, allocations: 43.97 kB / 0.9848 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1922, allocations: 3.938 kB / 0.9848 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.852e-05/0.1923, allocations: 24.05 kB / 0.9848 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/0.1926, allocations: 11.92 kB / 0.9848 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.193, allocations: 130.6 kB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.1932, allocations: 0.6808 MB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.377e-05/0.1932, allocations: 4.062 kB / 0.9856 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.1932, allocations: 11.44 kB / 0.9856 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of SimCode: time 2.01e-07/0.1932, allocations: 0 / 0.9856 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01081/0.204, allocations: 0.9988 MB / 0.9866 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/0.2042, allocations: 199.9 kB / 0.9868 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.396/1.6, allocations: 0 / 0.9868 GB, free: 20.14 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1)