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.00108/0.001081, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001324/0.001324, allocations: 189.4 kB / 16.25 MB, free: 6.621 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.279/1.279, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.559/1.559, allocations: 292.3 MB / 0.5486 GB, free: 13.66 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.001433/0.001433, allocations: 76.42 kB / 0.6711 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1868, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.003116/0.19, allocations: 1.976 MB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.1914, allocations: 1.007 MB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.1916, allocations: 3.938 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.1919, allocations: 95.69 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.1922, allocations: 91.7 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.1925, allocations: 111.8 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000246/0.1928, allocations: 203.4 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.193, allocations: 49.64 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.1931, allocations: 87.58 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1932, allocations: 95.66 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.1933, allocations: 8 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.1934, allocations: 71.89 kB / 0.7867 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.827e-05/0.1935, allocations: 51.83 kB / 0.7867 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.127e-05/0.1936, allocations: 91.41 kB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.1939, allocations: 275.3 kB / 0.7871 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1939, allocations: 0 / 0.7871 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.1939, allocations: 3.938 kB / 0.7871 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.1939, allocations: 0 / 0.7871 GB, free: 9.566 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.000725/0.1947, allocations: 0.5255 MB / 0.7876 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1947, allocations: 15.97 kB / 0.7876 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.1947, allocations: 30.75 kB / 0.7877 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.1948, allocations: 24.66 kB / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.1951, allocations: 307.7 kB / 0.788 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1952, allocations: 8.125 kB / 0.788 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.1952, allocations: 4 kB / 0.788 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1954, allocations: 81.59 kB / 0.7881 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1954, allocations: 7.938 kB / 0.7881 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1954, allocations: 4 kB / 0.7881 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1954, allocations: 0 / 0.7881 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.998e-05/0.1955, allocations: 43.97 kB / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.1961, allocations: 420.5 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.1963, allocations: 82.66 kB / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.1964, allocations: 32.84 kB / 0.7886 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1964, allocations: 0 / 0.7886 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.1966, allocations: 83.31 kB / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1966, allocations: 0 / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002967/0.1969, allocations: 129.3 kB / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.1969, allocations: 51.41 kB / 0.7889 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.1972, allocations: 366.9 kB / 0.7892 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1973, allocations: 33.69 kB / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.296e-05/0.1974, allocations: 140 kB / 0.7894 GB, free: 7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.1974, allocations: 19.8 kB / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.1975, allocations: 41.7 kB / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1976, allocations: 338.8 kB / 0.7898 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.926e-05/0.1977, allocations: 51.97 kB / 0.7898 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.1978, allocations: 81.62 kB / 0.7899 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.1979, allocations: 96.09 kB / 0.79 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.198, allocations: 0 / 0.79 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000291/0.1983, allocations: 189.2 kB / 0.7902 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1983, allocations: 8 kB / 0.7902 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1983, allocations: 0 / 0.7902 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1983, allocations: 7.875 kB / 0.7902 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1984, allocations: 23.98 kB / 0.7902 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1984, allocations: 0 / 0.7902 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.92e-05/0.1985, allocations: 27.86 kB / 0.7902 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.1986, allocations: 4 kB / 0.7902 GB, free: 6.098 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 ($PRE.ram.tab.nextTimeEvent,$whenCondition1,ram.tab.nextTimeEventScaled,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEvent,greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.1987, allocations: 158.8 kB / 0.7904 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.1987, allocations: 19.72 kB / 0.7904 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.623e-05/0.1988, allocations: 25.67 kB / 0.7904 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1988, allocations: 7.984 kB / 0.7904 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1988, allocations: 0 / 0.7904 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1988, allocations: 0 / 0.7904 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.199, allocations: 241.6 kB / 0.7907 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.199, allocations: 4 kB / 0.7907 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.227e-05/0.199, allocations: 3.984 kB / 0.7907 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.199, allocations: 4 kB / 0.7907 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.199, allocations: 3.938 kB / 0.7907 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.199, allocations: 0 / 0.7907 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.199, allocations: 3.938 kB / 0.7907 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.1992, allocations: 148.8 kB / 0.7908 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.663e-05/0.1993, allocations: 96.91 kB / 0.7909 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.1993, allocations: 7.938 kB / 0.7909 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-05/0.1994, allocations: 11.98 kB / 0.7909 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.1995, allocations: 11.98 kB / 0.791 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.1995, allocations: 4 kB / 0.791 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002022/0.1997, allocations: 221.9 kB / 0.7912 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1997, allocations: 0 / 0.7912 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002321/0.1999, allocations: 48.02 kB / 0.7912 GB, free: 5.004 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 (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.001206/0.2011, allocations: 0.9892 MB / 0.7922 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.2014, allocations: 107.8 kB / 0.7923 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2014, allocations: 0 / 0.7923 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.629e-05/0.2015, allocations: 36.05 kB / 0.7923 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.2018, allocations: 60.3 kB / 0.7924 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.2042, allocations: 2.331 MB / 0.7947 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.2044, allocations: 0.7476 MB / 0.7954 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.58e-05/0.2045, allocations: 29.67 kB / 0.7954 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.2046, allocations: 67.41 kB / 0.7955 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2046, allocations: 0 / 0.7955 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01459/0.2192, allocations: 4.928 MB / 0.8003 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.2195, allocations: 264.8 kB / 0.8005 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/1.875, allocations: 3.938 kB / 0.8005 GB, free: 11.59 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/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)