Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.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.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",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.284/1.284, 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.0009074/0.0009074, allocations: 179.1 kB / 325.8 MB, free: 2.691 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.453/1.453, allocations: 205 MB / 0.576 GB, free: 20.95 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.000677/0.000677, allocations: 82.36 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002902/0.0002902, allocations: 14.28 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1841, allocations: 105.4 MB / 0.8962 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.001407/0.1855, allocations: 1.16 MB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002709/0.1858, allocations: 108.5 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.1859, allocations: 4 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.588e-05/0.1859, allocations: 3.984 kB / 0.8975 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.765e-05/0.186, allocations: 11.88 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.937e-05/0.1861, allocations: 11.98 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.484e-05/0.1861, allocations: 39.86 kB / 0.8975 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.973e-05/0.1862, allocations: 9.094 kB / 0.8975 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.368e-05/0.1863, allocations: 19.91 kB / 0.8975 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.31e-05/0.1864, allocations: 19.92 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1864, allocations: 4 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.263e-06/0.1864, allocations: 0 / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.1864, allocations: 11.92 kB / 0.8976 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.1864, allocations: 11.94 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.636e-05/0.1865, allocations: 39.8 kB / 0.8976 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1865, allocations: 0 / 0.8976 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.315e-06/0.1865, allocations: 0 / 0.8976 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1865, allocations: 0 / 0.8976 GB, free: 66.55 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004319/0.187, allocations: 367.4 kB / 0.898 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.187, allocations: 11.97 kB / 0.898 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.185e-05/0.1871, allocations: 38.73 kB / 0.898 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.09e-05/0.1871, allocations: 0.9375 kB / 0.898 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.412e-05/0.1872, allocations: 172.2 kB / 0.8982 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1872, allocations: 384 / 0.8982 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.1872, allocations: 4.375 kB / 0.8982 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.1875, allocations: 78.22 kB / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1875, allocations: 3.938 kB / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1875, allocations: 0 / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1875, allocations: 4 kB / 0.8983 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.1878, allocations: 83.92 kB / 0.8984 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/0.1881, allocations: 276.9 kB / 0.8986 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.1883, allocations: 70.47 kB / 0.8987 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.1884, allocations: 48.92 kB / 0.8987 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.1885, allocations: 0 / 0.8987 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.1885, allocations: 30.56 kB / 0.8988 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.1885, allocations: 4 kB / 0.8988 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004835/0.189, allocations: 169.4 kB / 0.8989 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.189, allocations: 51.41 kB / 0.899 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.741e-05/0.1891, allocations: 113.8 kB / 0.8991 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.1891, allocations: 25.7 kB / 0.8991 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/0.1892, allocations: 88.14 kB / 0.8992 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.1892, allocations: 15.83 kB / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.966e-05/0.1892, allocations: 9.719 kB / 0.8992 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.194e-05/0.1893, allocations: 318.8 kB / 0.8995 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.1894, allocations: 35.97 kB / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.1895, allocations: 44.14 kB / 0.8996 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.1898, allocations: 104.7 kB / 0.8997 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1898, allocations: 0 / 0.8997 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002806/0.1901, allocations: 129.5 kB / 0.8998 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1901, allocations: 4 kB / 0.8998 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1901, allocations: 0 / 0.8998 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.1901, allocations: 4 kB / 0.8998 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.1903, allocations: 19.98 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.1903, allocations: 0 / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.889e-05/0.1904, allocations: 23.97 kB / 0.8999 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1904, allocations: 3.938 kB / 0.8999 GB, free: 64.01 MB / 0.6042 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 (3): * Single equations (assignments): 3 * 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.582e-05/0.1905, allocations: 117.8 kB / 0.9 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.1905, allocations: 4 kB / 0.9 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.1905, allocations: 7.906 kB / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1906, allocations: 0 / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1906, allocations: 0 / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1906, allocations: 0 / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.1907, allocations: 173.6 kB / 0.9002 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1907, allocations: 0 / 0.9002 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.1908, allocations: 23.98 kB / 0.9002 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.1908, allocations: 0 / 0.9002 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1908, allocations: 0 / 0.9002 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1908, allocations: 0 / 0.9002 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1908, allocations: 0 / 0.9002 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.1912, allocations: 231.2 kB / 0.9004 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.1912, allocations: 81.11 kB / 0.9005 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.1912, allocations: 0 / 0.9005 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.933e-05/0.1913, allocations: 19.98 kB / 0.9005 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.1914, allocations: 3.984 kB / 0.9005 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.1914, allocations: 4 kB / 0.9005 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.1915, allocations: 83.28 kB / 0.9006 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1915, allocations: 0 / 0.9006 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001942/0.1917, allocations: 8 kB / 0.9006 GB, free: 63.16 MB / 0.6042 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 (3): * Single equations (assignments): 3 * 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.000611/0.1923, allocations: 0.7591 MB / 0.9013 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003231/0.1926, allocations: 87.92 kB / 0.9014 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1926, allocations: 0 / 0.9014 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1928, allocations: 51.97 kB / 0.9015 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.1931, allocations: 11.92 kB / 0.9015 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.1935, allocations: 172.6 kB / 0.9017 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.1937, allocations: 0.6809 MB / 0.9023 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.613e-05/0.1937, allocations: 4 kB / 0.9023 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.1938, allocations: 11.44 kB / 0.9023 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of SimCode: time 6.31e-07/0.1938, allocations: 0 / 0.9023 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01142/0.2052, allocations: 1.299 MB / 0.9036 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/0.2054, allocations: 225.4 kB / 0.9038 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/1.689, allocations: 4 kB / 0.9038 GB, free: 59.89 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Product.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)