Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.305/1.305, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 175.5 kB / 325.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205 MB / 0.576 GB, free: 20.95 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008137/0.0008137, allocations: 95.25 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003338, allocations: 10.5 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1832, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001422/0.1847, allocations: 1.139 MB / 0.8973 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000324/0.185, allocations: 149.2 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.1851, allocations: 0 / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.1851, allocations: 7.875 kB / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.995e-05/0.1852, allocations: 0 / 0.8975 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001181/0.1853, allocations: 23.92 kB / 0.8975 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.927e-05/0.1854, allocations: 43.91 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.972e-05/0.1855, allocations: 28.2 kB / 0.8976 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.307e-05/0.1855, allocations: 11.92 kB / 0.8976 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.1856, allocations: 19.92 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1856, allocations: 3.938 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.1856, allocations: 4 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.1857, allocations: 11.97 kB / 0.8976 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.1857, allocations: 15.88 kB / 0.8976 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.221e-05/0.1858, allocations: 35.86 kB / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1858, allocations: 0 / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1858, allocations: 0 / 0.8977 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.1858, allocations: 4 kB / 0.8977 GB, free: 66.54 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004345/0.1862, allocations: 352.3 kB / 0.898 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.1863, allocations: 8.031 kB / 0.898 GB, free: 66.14 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.1863, allocations: 34.75 kB / 0.898 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.1864, allocations: 4.938 kB / 0.8981 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.1865, allocations: 184.2 kB / 0.8982 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1865, allocations: 4.312 kB / 0.8982 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.1865, allocations: 8.375 kB / 0.8982 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.1867, allocations: 66.22 kB / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1867, allocations: 3.938 kB / 0.8983 GB, free: 65.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1867, allocations: 8 kB / 0.8983 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1867, allocations: 0 / 0.8983 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.1869, allocations: 59.95 kB / 0.8984 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.1873, allocations: 292.8 kB / 0.8987 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.1875, allocations: 70.55 kB / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.722e-05/0.1876, allocations: 36.91 kB / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1876, allocations: 0 / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.1877, allocations: 34.56 kB / 0.8988 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.1877, allocations: 4 kB / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003893/0.1881, allocations: 125.5 kB / 0.8989 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.1881, allocations: 55.39 kB / 0.899 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.699e-05/0.1882, allocations: 109.9 kB / 0.8991 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.1882, allocations: 25.7 kB / 0.8991 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.1882, allocations: 92.14 kB / 0.8992 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.1883, allocations: 23.73 kB / 0.8992 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.1883, allocations: 9.719 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.459e-05/0.1883, allocations: 318.8 kB / 0.8995 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.567e-05/0.1884, allocations: 35.98 kB / 0.8996 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.334e-05/0.1885, allocations: 32.09 kB / 0.8996 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.1887, allocations: 64.89 kB / 0.8996 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1887, allocations: 4 kB / 0.8996 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002041/0.1889, allocations: 89.59 kB / 0.8997 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.189, allocations: 4 kB / 0.8997 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.189, allocations: 4 kB / 0.8997 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.189, allocations: 0 / 0.8997 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1891, allocations: 23.97 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.1891, allocations: 0 / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.004e-05/0.1892, allocations: 8 kB / 0.8998 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.1892, allocations: 7.984 kB / 0.8998 GB, free: 64.15 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.114e-05/0.1893, allocations: 109.8 kB / 0.8999 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.1893, allocations: 7.906 kB / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.1893, allocations: 7.906 kB / 0.8999 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1893, allocations: 4 kB / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1893, allocations: 0 / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1893, allocations: 0 / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.1894, allocations: 177.6 kB / 0.9001 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1895, allocations: 0 / 0.9001 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.192e-05/0.1895, allocations: 19.98 kB / 0.9001 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1896, allocations: 0 / 0.9001 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1896, allocations: 3.938 kB / 0.9001 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1896, allocations: 0 / 0.9001 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1896, allocations: 0 / 0.9001 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1898, allocations: 195.4 kB / 0.9003 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.1898, allocations: 81.02 kB / 0.9004 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.1898, allocations: 4 kB / 0.9004 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.579e-05/0.19, allocations: 15.98 kB / 0.9004 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.19, allocations: 11.98 kB / 0.9004 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.19, allocations: 3.984 kB / 0.9004 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.51e-05/0.19, allocations: 91.22 kB / 0.9005 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1901, allocations: 0 / 0.9005 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002153/0.1903, allocations: 8 kB / 0.9005 GB, free: 63.32 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0003888/0.1907, allocations: 0.7249 MB / 0.9012 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.1909, allocations: 71.94 kB / 0.9013 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1909, allocations: 0 / 0.9013 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.191, allocations: 40.14 kB / 0.9013 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.1913, allocations: 8 kB / 0.9013 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.1924, allocations: 1.356 MB / 0.9026 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.762e-05/0.1925, allocations: 0.6809 MB / 0.9033 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.275e-05/0.1926, allocations: 15.84 kB / 0.9033 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.1926, allocations: 15.42 kB / 0.9033 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.1926, allocations: 0 / 0.9033 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009889/0.2025, allocations: 1.529 MB / 0.9048 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001227/0.2027, allocations: 244.1 kB / 0.9051 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/1.681, allocations: 2.531 kB / 0.9051 GB, free: 58.65 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)