Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.GreaterThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",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.0007257/0.0007257, allocations: 90.75 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.0007646/0.0007647, 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.174/1.174, allocations: 205.4 MB / 222.1 MB, free: 5.48 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.7 MB / 0.5499 GB, free: 14.55 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.0004905/0.0004906, allocations: 18.69 kB / 0.6738 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1886, 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.GreaterThreshold): time 0.001957/0.1906, allocations: 1.61 MB / 0.789 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.192, allocations: 0.9457 MB / 0.7899 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.761e-05/0.1921, allocations: 3.938 kB / 0.7899 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.1924, allocations: 95.69 kB / 0.79 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.1926, allocations: 79.72 kB / 0.7901 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.1928, allocations: 95.81 kB / 0.7902 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.193, allocations: 179.4 kB / 0.7903 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1931, allocations: 33.66 kB / 0.7904 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.624e-05/0.1932, allocations: 71.64 kB / 0.7904 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.41e-05/0.1933, allocations: 75.67 kB / 0.7905 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.1934, allocations: 4 kB / 0.7905 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.1935, allocations: 51.95 kB / 0.7906 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.1935, allocations: 51.77 kB / 0.7906 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.153e-05/0.1936, allocations: 49.64 kB / 0.7907 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.1938, allocations: 207.8 kB / 0.7909 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1938, allocations: 3.938 kB / 0.7909 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1938, allocations: 0 / 0.7909 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.536e-06/0.1938, allocations: 0 / 0.7909 GB, free: 8.281 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006029/0.1944, allocations: 0.5022 MB / 0.7914 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.71e-05/0.1945, allocations: 12.03 kB / 0.7914 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.1945, allocations: 42.55 kB / 0.7914 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.1946, allocations: 27.67 kB / 0.7914 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.1949, allocations: 294.4 kB / 0.7917 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1949, allocations: 4 kB / 0.7917 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.1949, allocations: 8 kB / 0.7917 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.1951, allocations: 81.59 kB / 0.7918 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.1951, allocations: 0 / 0.7918 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1951, allocations: 7.984 kB / 0.7918 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1951, allocations: 0 / 0.7918 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1952, allocations: 47.92 kB / 0.7919 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.1958, allocations: 424.6 kB / 0.7923 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.196, allocations: 90.55 kB / 0.7924 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.1961, allocations: 28.86 kB / 0.7924 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.1961, allocations: 0 / 0.7924 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001407/0.1962, allocations: 79.31 kB / 0.7925 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.1962, allocations: 4 kB / 0.7925 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002663/0.1965, allocations: 125.4 kB / 0.7926 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.1965, allocations: 55.41 kB / 0.7926 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.1969, allocations: 366.9 kB / 0.793 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.1969, allocations: 29.7 kB / 0.793 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.246e-05/0.197, allocations: 140 kB / 0.7931 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.197, allocations: 23.73 kB / 0.7932 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/0.197, allocations: 4 kB / 0.7932 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1972, allocations: 334.8 kB / 0.7935 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.1973, allocations: 51.98 kB / 0.7935 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.1974, allocations: 85.61 kB / 0.7936 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.003e-05/0.1975, allocations: 50.95 kB / 0.7937 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1975, allocations: 0 / 0.7937 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002853/0.1978, allocations: 201.2 kB / 0.7939 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1978, allocations: 4 kB / 0.7939 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1978, allocations: 320 / 0.7939 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1978, allocations: 0 / 0.7939 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1979, allocations: 27.92 kB / 0.7939 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1979, allocations: 0 / 0.7939 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.387e-05/0.198, allocations: 23.94 kB / 0.7939 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.1981, allocations: 11.97 kB / 0.7939 GB, free: 4.914 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001217/0.1982, allocations: 160.8 kB / 0.7941 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.1982, allocations: 19.77 kB / 0.7941 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.1983, allocations: 21.73 kB / 0.7941 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1983, allocations: 4 kB / 0.7941 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.1983, allocations: 0 / 0.7941 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1983, allocations: 4 kB / 0.7941 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.1985, allocations: 245.5 kB / 0.7944 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1985, allocations: 0 / 0.7944 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.1985, allocations: 4 kB / 0.7944 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1985, allocations: 3.953 kB / 0.7944 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1985, allocations: 4 kB / 0.7944 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1985, allocations: 0 / 0.7944 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1986, allocations: 4 kB / 0.7944 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.1988, allocations: 140.9 kB / 0.7945 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.5e-05/0.1988, allocations: 100.8 kB / 0.7946 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.1989, allocations: 7.953 kB / 0.7946 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/0.1989, allocations: 11.98 kB / 0.7946 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.199, allocations: 15.91 kB / 0.7946 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.199, allocations: 8 kB / 0.7947 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001978/0.1992, allocations: 221.9 kB / 0.7949 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.543e-06/0.1992, allocations: 0 / 0.7949 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002255/0.1995, allocations: 47.83 kB / 0.7949 GB, free: 3.82 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: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (ram.tab.nextTimeEventScaled,greHys.greHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00116/0.2006, allocations: 0.9742 MB / 0.7959 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.2008, allocations: 111.8 kB / 0.796 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2009, allocations: 4.062 kB / 0.796 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.204e-05/0.2009, allocations: 31.92 kB / 0.796 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.2012, allocations: 48.81 kB / 0.796 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.2031, allocations: 1.392 MB / 0.7974 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.2034, allocations: 0.7476 MB / 0.7981 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.012e-05/0.2035, allocations: 37.69 kB / 0.7982 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.4e-05/0.2036, allocations: 67.41 kB / 0.7982 GB, free: 476 kB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2036, allocations: 0 / 0.7982 GB, free: 476 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.2294, allocations: 4.895 MB / 0.803 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.2296, allocations: 242.2 kB / 0.8032 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/1.944, allocations: 0 / 0.8032 GB, free: 11.52 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1) Environment - environmentSimulation: