Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Max,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",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.001037/0.001037, allocations: 86.72 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.001164/0.001164, 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.272/1.272, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.551/1.551, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0004736/0.0004736, allocations: 14.03 kB / 0.6739 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1847, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.0007252/0.1855, allocations: 422.7 kB / 0.7878 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007178/0.1862, allocations: 0.8049 MB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.1862, allocations: 0 / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.248e-05/0.1863, allocations: 7.938 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.741e-05/0.1863, allocations: 7.922 kB / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.764e-05/0.1864, allocations: 8 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.482e-05/0.1865, allocations: 35.91 kB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.097e-05/0.1866, allocations: 4 kB / 0.7887 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.533e-05/0.1866, allocations: 23.91 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.413e-05/0.1867, allocations: 15.92 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1867, allocations: 4 kB / 0.7887 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-06/0.1867, allocations: 4 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.1867, allocations: 11.92 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.1868, allocations: 29.7 kB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.307e-05/0.1868, allocations: 23.94 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1868, allocations: 0 / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.766e-06/0.1869, allocations: 4 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.1869, allocations: 3.938 kB / 0.7888 GB, free: 10.39 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.000513/0.1874, allocations: 363.5 kB / 0.7891 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1874, allocations: 12.03 kB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.1875, allocations: 34.56 kB / 0.7892 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.1875, allocations: 7.891 kB / 0.7892 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.1876, allocations: 171 kB / 0.7894 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1877, allocations: 0 / 0.7894 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.1877, allocations: 11.94 kB / 0.7894 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.1879, allocations: 81.59 kB / 0.7894 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1879, allocations: 0 / 0.7894 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.188, allocations: 0 / 0.7894 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.188, allocations: 0 / 0.7894 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002626/0.1882, allocations: 87.92 kB / 0.7895 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.1886, allocations: 272.9 kB / 0.7898 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.1888, allocations: 70.47 kB / 0.7899 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.189, allocations: 48.92 kB / 0.7899 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.189, allocations: 0 / 0.7899 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.189, allocations: 34.56 kB / 0.7899 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.189, allocations: 0 / 0.7899 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005073/0.1895, allocations: 169.5 kB / 0.7901 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.1896, allocations: 55.34 kB / 0.7902 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.567e-05/0.1897, allocations: 113.8 kB / 0.7903 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.1897, allocations: 25.7 kB / 0.7903 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.1898, allocations: 80.14 kB / 0.7904 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.1898, allocations: 11.89 kB / 0.7904 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.1898, allocations: 8 kB / 0.7904 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1899, allocations: 314.8 kB / 0.7907 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.1901, allocations: 39.97 kB / 0.7907 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1902, allocations: 43.95 kB / 0.7908 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.1903, allocations: 39.97 kB / 0.7908 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1904, allocations: 4 kB / 0.7908 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002937/0.1907, allocations: 125.5 kB / 0.7909 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1907, allocations: 6.812 kB / 0.7909 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1907, allocations: 0 / 0.7909 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1907, allocations: 4 kB / 0.7909 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.1908, allocations: 19.92 kB / 0.791 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1909, allocations: 3.938 kB / 0.791 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.359e-05/0.1909, allocations: 23.98 kB / 0.791 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.191, allocations: 4.312 kB / 0.791 GB, free: 7.922 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 7.916e-05/0.191, allocations: 109.8 kB / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.1911, allocations: 7.984 kB / 0.7911 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.1914, allocations: 133.4 kB / 0.7912 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1914, allocations: 0 / 0.7912 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.1914, allocations: 4 kB / 0.7912 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1914, allocations: 0 / 0.7912 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.1916, allocations: 173.6 kB / 0.7914 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1916, allocations: 0 / 0.7914 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.86e-05/0.1917, allocations: 23.91 kB / 0.7914 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1917, allocations: 4 kB / 0.7914 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.1917, allocations: 0 / 0.7914 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1917, allocations: 3.938 kB / 0.7914 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1918, allocations: 4 kB / 0.7914 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.1921, allocations: 219.4 kB / 0.7916 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.1921, allocations: 81.02 kB / 0.7917 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.1922, allocations: 7.984 kB / 0.7917 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.551e-05/0.1923, allocations: 11.98 kB / 0.7917 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.1923, allocations: 4 kB / 0.7917 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1923, allocations: 0 / 0.7917 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.306e-05/0.1924, allocations: 95.25 kB / 0.7918 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1924, allocations: 4 kB / 0.7918 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002021/0.1926, allocations: 4 kB / 0.7918 GB, free: 6.945 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.0006162/0.1932, allocations: 0.7518 MB / 0.7926 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002931/0.1935, allocations: 91.92 kB / 0.7927 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1935, allocations: 0 / 0.7927 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.1936, allocations: 52.05 kB / 0.7927 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.1939, allocations: 11.92 kB / 0.7927 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.1943, allocations: 166.4 kB / 0.7929 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.1945, allocations: 0.6809 MB / 0.7935 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.936e-05/0.1945, allocations: 3.984 kB / 0.7935 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.1946, allocations: 15.44 kB / 0.7936 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.1946, allocations: 0 / 0.7936 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0102/0.2048, allocations: 1.271 MB / 0.7948 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.205, allocations: 190.5 kB / 0.795 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/1.738, allocations: 0 / 0.795 GB, free: 3.703 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) Environment - environmentSimulation: