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.001148/0.001148, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001176/0.001176, allocations: 193.2 kB / 16.25 MB, free: 6.625 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.256/1.256, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.549/1.549, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001312/0.001312, allocations: 70.88 kB / 0.6711 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.184, allocations: 114.6 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Product): time 0.001803/0.1859, allocations: 0.7699 MB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007024/0.1866, allocations: 0.7971 MB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.1866, allocations: 0 / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.1867, allocations: 0 / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.315e-05/0.1867, allocations: 11.88 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.731e-05/0.1868, allocations: 11.98 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.082e-05/0.1869, allocations: 35.92 kB / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.447e-05/0.1869, allocations: 16 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.12e-05/0.187, allocations: 23.86 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.617e-05/0.1871, allocations: 23.91 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.1871, allocations: 4 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.836e-06/0.1871, allocations: 4 kB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.1871, allocations: 4 kB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.614e-05/0.1872, allocations: 19.86 kB / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.729e-05/0.1872, allocations: 39.86 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1872, allocations: 4 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1872, allocations: 0 / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.217e-06/0.1873, allocations: 3.938 kB / 0.7847 GB, free: 12.01 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.0004458/0.1877, allocations: 363.6 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.1877, allocations: 12.03 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.021e-05/0.1878, allocations: 34.73 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.998e-05/0.1878, allocations: 4.938 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1879, allocations: 172.2 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.1879, allocations: 8.375 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.1879, allocations: 4.375 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.1882, allocations: 66.16 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1882, allocations: 3.938 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.1882, allocations: 4 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-06/0.1882, allocations: 0 / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.1885, allocations: 67.92 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.1888, allocations: 264.9 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.1889, allocations: 58.47 kB / 0.7857 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.1891, allocations: 40.92 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.1891, allocations: 0 / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.1891, allocations: 30.56 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.1891, allocations: 4 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.00047/0.1896, allocations: 137.7 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.1896, allocations: 55.41 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.64e-05/0.1897, allocations: 109.8 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.1897, allocations: 25.7 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.1898, allocations: 92.08 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.1898, allocations: 7.891 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.1898, allocations: 13.72 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.1899, allocations: 318.8 kB / 0.7865 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.1901, allocations: 31.95 kB / 0.7866 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.1902, allocations: 31.97 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.1904, allocations: 72.72 kB / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1904, allocations: 0 / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002789/0.1907, allocations: 97.53 kB / 0.7868 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1908, allocations: 8 kB / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.1908, allocations: 0 / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.617e-06/0.1908, allocations: 0 / 0.7868 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1909, allocations: 19.92 kB / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-06/0.1909, allocations: 4 kB / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.138e-05/0.191, allocations: 11.97 kB / 0.7868 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.191, allocations: 4 kB / 0.7868 GB, free: 9.641 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 5.832e-05/0.191, allocations: 113.8 kB / 0.7869 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.1911, allocations: 4 kB / 0.7869 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.1911, allocations: 7.906 kB / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.1911, allocations: 3.938 kB / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1911, allocations: 4 kB / 0.7869 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.1911, allocations: 0 / 0.7869 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.1913, allocations: 177.5 kB / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1913, allocations: 0 / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.084e-05/0.1914, allocations: 15.98 kB / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1914, allocations: 0 / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1914, allocations: 8 kB / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1914, allocations: 320 / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1914, allocations: 0 / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.1917, allocations: 203.2 kB / 0.7873 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.1918, allocations: 81.11 kB / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.1918, allocations: 0 / 0.7874 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1919, allocations: 15.98 kB / 0.7874 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.1919, allocations: 3.984 kB / 0.7874 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1919, allocations: 7.938 kB / 0.7874 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.192, allocations: 91.27 kB / 0.7875 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.192, allocations: 0 / 0.7875 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002025/0.1922, allocations: 8 kB / 0.7875 GB, free: 8.812 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.0005638/0.1928, allocations: 0.7318 MB / 0.7882 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002879/0.1931, allocations: 67.86 kB / 0.7883 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1931, allocations: 0 / 0.7883 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.1932, allocations: 44.28 kB / 0.7883 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.1935, allocations: 8 kB / 0.7883 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.1938, allocations: 163.1 kB / 0.7885 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.194, allocations: 0.6808 MB / 0.7892 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.845e-05/0.1941, allocations: 7.984 kB / 0.7892 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.1941, allocations: 11.44 kB / 0.7892 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.1941, allocations: 3.938 kB / 0.7892 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0693/0.2634, allocations: 1.411 MB / 0.7906 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/0.2637, allocations: 211.2 kB / 0.7908 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.143, allocations: 0 / 0.7908 GB, free: 5.461 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)