Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.0007682/0.0007682, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.0009138/0.0009138, allocations: 172.7 kB / 15.95 MB, free: 208 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.329/1.329, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.59/1.59, 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.0004844/0.0004845, allocations: 16.56 kB / 0.6738 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1888, 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.Add): time 0.0007498/0.1896, allocations: 438.6 kB / 0.7878 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007709/0.1904, allocations: 0.7971 MB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.561e-05/0.1905, allocations: 3.938 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.269e-05/0.1905, allocations: 0 / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.563e-05/0.1906, allocations: 3.938 kB / 0.7886 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.765e-05/0.1906, allocations: 15.98 kB / 0.7886 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.101e-05/0.1907, allocations: 39.86 kB / 0.7887 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.366e-05/0.1908, allocations: 15.98 kB / 0.7887 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.612e-05/0.1909, allocations: 15.92 kB / 0.7887 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.1909, allocations: 19.92 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.1909, allocations: 0 / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-06/0.1909, allocations: 4 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.191, allocations: 3.984 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.191, allocations: 37.64 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.275e-05/0.191, allocations: 31.92 kB / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1911, allocations: 0 / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1911, allocations: 0 / 0.7888 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.1911, allocations: 0 / 0.7888 GB, free: 10.38 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.0004168/0.1915, allocations: 375.5 kB / 0.7892 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.1915, allocations: 8.031 kB / 0.7892 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.859e-05/0.1916, allocations: 34.56 kB / 0.7892 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.089e-05/0.1916, allocations: 7.906 kB / 0.7892 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.629e-05/0.1917, allocations: 175 kB / 0.7894 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-06/0.1917, allocations: 0 / 0.7894 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-06/0.1917, allocations: 0 / 0.7894 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.1919, allocations: 89.58 kB / 0.7895 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1919, allocations: 0 / 0.7895 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.192, allocations: 4 kB / 0.7895 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.192, allocations: 0 / 0.7895 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.1922, allocations: 91.86 kB / 0.7896 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002894/0.1925, allocations: 272.8 kB / 0.7898 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.1927, allocations: 70.48 kB / 0.7899 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.1929, allocations: 56.91 kB / 0.7899 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.1929, allocations: 3.938 kB / 0.7899 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.1929, allocations: 34.56 kB / 0.79 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.1929, allocations: 0 / 0.79 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004639/0.1934, allocations: 165.6 kB / 0.7901 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.1934, allocations: 51.41 kB / 0.7902 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.749e-05/0.1935, allocations: 110 kB / 0.7903 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1935, allocations: 33.64 kB / 0.7903 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.1936, allocations: 88.05 kB / 0.7904 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.1936, allocations: 11.84 kB / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.1936, allocations: 0 / 0.7904 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.1937, allocations: 322.8 kB / 0.7907 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.1938, allocations: 39.97 kB / 0.7908 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.1939, allocations: 47.95 kB / 0.7908 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.1941, allocations: 43.97 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1941, allocations: 0 / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002707/0.1944, allocations: 117.6 kB / 0.791 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.1944, allocations: 4 kB / 0.791 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1944, allocations: 4 kB / 0.791 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.1944, allocations: 0 / 0.791 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1945, allocations: 23.97 kB / 0.791 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1945, allocations: 0 / 0.791 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.133e-05/0.1946, allocations: 19.89 kB / 0.791 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.1946, allocations: 7.938 kB / 0.791 GB, free: 7.879 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 6.127e-05/0.1947, allocations: 117.8 kB / 0.7911 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.1947, allocations: 0 / 0.7911 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.063e-05/0.1947, allocations: 7.906 kB / 0.7911 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1947, allocations: 3.984 kB / 0.7911 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1947, allocations: 0 / 0.7911 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.1948, allocations: 0 / 0.7911 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.1949, allocations: 169.6 kB / 0.7913 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1949, allocations: 336 / 0.7913 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.233e-05/0.195, allocations: 35.91 kB / 0.7913 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.195, allocations: 384 / 0.7913 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.195, allocations: 0 / 0.7913 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.195, allocations: 0 / 0.7913 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.195, allocations: 4 kB / 0.7913 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.1954, allocations: 223.3 kB / 0.7916 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.1954, allocations: 81.05 kB / 0.7916 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.1954, allocations: 8 kB / 0.7916 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/0.1955, allocations: 19.97 kB / 0.7917 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.1956, allocations: 4 kB / 0.7917 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1956, allocations: 0 / 0.7917 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.7e-05/0.1956, allocations: 91.27 kB / 0.7917 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1956, allocations: 0 / 0.7917 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001997/0.1958, allocations: 4 kB / 0.7918 GB, free: 7.027 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.000567/0.1964, allocations: 0.7578 MB / 0.7925 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000286/0.1967, allocations: 95.86 kB / 0.7926 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1967, allocations: 4 kB / 0.7926 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.1968, allocations: 47.97 kB / 0.7926 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.1971, allocations: 7.984 kB / 0.7926 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.1975, allocations: 162.3 kB / 0.7928 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.1977, allocations: 0.6848 MB / 0.7935 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.774e-05/0.1977, allocations: 0 / 0.7935 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.1978, allocations: 15.44 kB / 0.7935 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.1978, allocations: 0 / 0.7935 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01041/0.2082, allocations: 1.34 MB / 0.7948 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.2084, allocations: 198.7 kB / 0.795 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/1.691, allocations: 0 / 0.795 GB, free: 3.711 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) Environment - environmentSimulation: