Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Average,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.0007366/0.0007368, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0008127/0.0008126, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.594/1.594, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005415/0.0005417, allocations: 20.03 kB / 0.6739 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1862, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.0007284/0.1869, allocations: 434.6 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007322/0.1877, allocations: 0.7893 MB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.636e-05/0.1877, allocations: 0 / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.1877, allocations: 4 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.677e-05/0.1878, allocations: 7.922 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.509e-05/0.1879, allocations: 7.984 kB / 0.7886 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.397e-05/0.1879, allocations: 39.86 kB / 0.7887 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.393e-05/0.188, allocations: 23.98 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.171e-05/0.1881, allocations: 7.984 kB / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.56e-05/0.1881, allocations: 15.92 kB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.1881, allocations: 4 kB / 0.7887 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.043e-06/0.1882, allocations: 3.938 kB / 0.7887 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.1882, allocations: 11.98 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.845e-05/0.1882, allocations: 25.7 kB / 0.7888 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.869e-05/0.1882, allocations: 31.88 kB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1883, allocations: 4 kB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.485e-06/0.1883, allocations: 0 / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.1883, allocations: 3.938 kB / 0.7888 GB, free: 10.43 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.0004094/0.1887, allocations: 363.5 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1887, allocations: 8.031 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.1888, allocations: 34.56 kB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.1e-05/0.1888, allocations: 7.906 kB / 0.7892 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.573e-05/0.1889, allocations: 182.9 kB / 0.7894 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1889, allocations: 4 kB / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.1889, allocations: 0 / 0.7894 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.1891, allocations: 85.64 kB / 0.7894 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1892, allocations: 0 / 0.7894 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-06/0.1892, allocations: 0 / 0.7894 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1892, allocations: 0 / 0.7894 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002589/0.1894, allocations: 87.92 kB / 0.7895 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.1897, allocations: 272.8 kB / 0.7898 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.1899, allocations: 66.55 kB / 0.7899 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.1901, allocations: 52.91 kB / 0.7899 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.1901, allocations: 0 / 0.7899 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.1901, allocations: 30.56 kB / 0.7899 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1901, allocations: 0 / 0.7899 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004571/0.1906, allocations: 165.5 kB / 0.7901 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.1906, allocations: 59.41 kB / 0.7902 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.098e-05/0.1907, allocations: 105.8 kB / 0.7903 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.1907, allocations: 25.7 kB / 0.7903 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.1907, allocations: 84.14 kB / 0.7904 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.1908, allocations: 11.81 kB / 0.7904 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.1908, allocations: 0 / 0.7904 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.1909, allocations: 322.8 kB / 0.7907 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.191, allocations: 43.97 kB / 0.7907 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.1911, allocations: 35.97 kB / 0.7908 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1912, allocations: 43.95 kB / 0.7908 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1912, allocations: 4 kB / 0.7908 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002677/0.1915, allocations: 121.6 kB / 0.7909 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1915, allocations: 8 kB / 0.7909 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.1915, allocations: 0 / 0.7909 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1916, allocations: 0 / 0.7909 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1917, allocations: 27.97 kB / 0.7909 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.1917, allocations: 3.938 kB / 0.791 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.1918, allocations: 19.98 kB / 0.791 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1918, allocations: 0 / 0.791 GB, free: 7.969 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.979e-05/0.1918, allocations: 117.7 kB / 0.7911 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.1919, allocations: 11.91 kB / 0.7911 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.893e-05/0.1919, allocations: 3.906 kB / 0.7911 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1919, allocations: 0 / 0.7911 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1919, allocations: 0 / 0.7911 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1919, allocations: 4 kB / 0.7911 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.1921, allocations: 173.5 kB / 0.7913 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1921, allocations: 4 kB / 0.7913 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.733e-05/0.1922, allocations: 19.98 kB / 0.7913 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1922, allocations: 0 / 0.7913 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1922, allocations: 4 kB / 0.7913 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1922, allocations: 0 / 0.7913 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1922, allocations: 0 / 0.7913 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.1925, allocations: 227.7 kB / 0.7915 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.934e-05/0.1926, allocations: 81.02 kB / 0.7916 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.1926, allocations: 0 / 0.7916 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-05/0.1927, allocations: 19.98 kB / 0.7916 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.1927, allocations: 7.984 kB / 0.7916 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.1927, allocations: 0 / 0.7916 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.42e-05/0.1928, allocations: 87.58 kB / 0.7917 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1928, allocations: 4 kB / 0.7917 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002008/0.193, allocations: 4 kB / 0.7917 GB, free: 7.117 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 (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.000538/0.1935, allocations: 0.7553 MB / 0.7924 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002794/0.1938, allocations: 87.92 kB / 0.7925 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.1938, allocations: 0 / 0.7925 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.194, allocations: 51.95 kB / 0.7926 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.1942, allocations: 8 kB / 0.7926 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.1946, allocations: 170.1 kB / 0.7927 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.1948, allocations: 0.6809 MB / 0.7934 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.1e-05/0.1948, allocations: 4 kB / 0.7934 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.1948, allocations: 11.44 kB / 0.7934 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.1949, allocations: 0 / 0.7934 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.2125, allocations: 1.296 MB / 0.7947 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.2128, allocations: 192.3 kB / 0.7949 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/1.687, allocations: 0 / 0.7949 GB, free: 3.863 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) Environment - environmentSimulation: