Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.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.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007774/0.0007775, allocations: 91.84 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.005161/0.005161, allocations: 169.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.295/1.295, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.622/1.622, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0004852/0.0004852, allocations: 18.39 kB / 0.6744 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1849, allocations: 116.3 MB / 0.788 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.0008396/0.1857, allocations: 442.5 kB / 0.7884 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008894/0.1866, allocations: 0.801 MB / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.067e-05/0.1867, allocations: 0 / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.107e-05/0.1867, allocations: 7.875 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.214e-05/0.1868, allocations: 3.984 kB / 0.7892 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.209e-05/0.1869, allocations: 15.94 kB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.666e-05/0.1869, allocations: 39.91 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.011e-05/0.187, allocations: 8 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.597e-05/0.1871, allocations: 15.92 kB / 0.7893 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.245e-05/0.1872, allocations: 23.92 kB / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1872, allocations: 0 / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.1872, allocations: 4 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.1872, allocations: 3.984 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.1873, allocations: 41.58 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.513e-05/0.1874, allocations: 39.84 kB / 0.7894 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1874, allocations: 4 kB / 0.7894 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1874, allocations: 0 / 0.7894 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1874, allocations: 0 / 0.7894 GB, free: 9.98 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004547/0.1878, allocations: 359.7 kB / 0.7898 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1879, allocations: 12.03 kB / 0.7898 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.1879, allocations: 34.75 kB / 0.7898 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.188, allocations: 8.844 kB / 0.7898 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.1881, allocations: 176.2 kB / 0.79 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.1881, allocations: 384 / 0.79 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.1881, allocations: 8.375 kB / 0.79 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.1884, allocations: 78.22 kB / 0.7901 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1884, allocations: 7.875 kB / 0.7901 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.1884, allocations: 0 / 0.7901 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1884, allocations: 0 / 0.7901 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.1887, allocations: 87.92 kB / 0.7902 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.1891, allocations: 276.8 kB / 0.7904 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.1893, allocations: 66.64 kB / 0.7905 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.1894, allocations: 48.81 kB / 0.7905 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.1895, allocations: 4 kB / 0.7905 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.1895, allocations: 30.56 kB / 0.7906 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.1895, allocations: 4 kB / 0.7906 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005652/0.1901, allocations: 161.5 kB / 0.7907 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.1901, allocations: 55.34 kB / 0.7908 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.842e-05/0.1902, allocations: 113.8 kB / 0.7909 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1902, allocations: 29.7 kB / 0.7909 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.51e-05/0.1903, allocations: 84.14 kB / 0.791 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.1903, allocations: 15.81 kB / 0.791 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.1903, allocations: 9.719 kB / 0.791 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1904, allocations: 314.8 kB / 0.7913 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.1906, allocations: 43.97 kB / 0.7914 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.1908, allocations: 43.95 kB / 0.7914 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.1911, allocations: 88.73 kB / 0.7915 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1911, allocations: 0 / 0.7915 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003553/0.1914, allocations: 125.8 kB / 0.7916 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1915, allocations: 4 kB / 0.7916 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1915, allocations: 8 kB / 0.7916 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.1915, allocations: 0 / 0.7916 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1916, allocations: 19.98 kB / 0.7916 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.1916, allocations: 0 / 0.7916 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.484e-05/0.1917, allocations: 20.03 kB / 0.7916 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1917, allocations: 3.984 kB / 0.7917 GB, free: 7.449 MB / 0.6075 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.605e-05/0.1918, allocations: 113.8 kB / 0.7918 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.1918, allocations: 11.89 kB / 0.7918 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.1919, allocations: 7.906 kB / 0.7918 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1919, allocations: 0 / 0.7918 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1919, allocations: 0 / 0.7918 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.1919, allocations: 0 / 0.7918 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.1921, allocations: 177.5 kB / 0.792 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1921, allocations: 0 / 0.792 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.1922, allocations: 27.97 kB / 0.792 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1922, allocations: 3.938 kB / 0.792 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.1922, allocations: 4 kB / 0.792 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1922, allocations: 0 / 0.792 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1922, allocations: 3.938 kB / 0.792 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.1926, allocations: 215.4 kB / 0.7922 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/0.1927, allocations: 81.02 kB / 0.7923 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.1927, allocations: 7.984 kB / 0.7923 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.1928, allocations: 19.98 kB / 0.7923 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.1928, allocations: 7.938 kB / 0.7923 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.1928, allocations: 0 / 0.7923 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.367e-05/0.1929, allocations: 91.27 kB / 0.7924 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1929, allocations: 0 / 0.7924 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002097/0.1931, allocations: 4 kB / 0.7924 GB, free: 6.59 MB / 0.6075 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.0006755/0.1938, allocations: 0.7553 MB / 0.7931 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003484/0.1942, allocations: 91.92 kB / 0.7932 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1942, allocations: 0 / 0.7932 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.1943, allocations: 47.91 kB / 0.7933 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.1946, allocations: 14.94 kB / 0.7933 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.195, allocations: 162.3 kB / 0.7934 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.1953, allocations: 0.6848 MB / 0.7941 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.789e-05/0.1953, allocations: 0 / 0.7941 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.1954, allocations: 19.42 kB / 0.7941 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.1954, allocations: 0 / 0.7941 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01009/0.2055, allocations: 1.304 MB / 0.7954 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.2057, allocations: 206.8 kB / 0.7956 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/1.849, allocations: 0 / 0.7956 GB, free: 3.305 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Product.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1)