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.434/1.434, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001172/0.001172, allocations: 179.5 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.001025/0.001025, allocations: 90 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004485/0.0004488, allocations: 9.031 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2826, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001492/0.2841, allocations: 1.123 MB / 0.9013 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003137/0.2844, allocations: 145.8 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.812e-05/0.2845, allocations: 0 / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.2845, allocations: 3.938 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.472e-05/0.2846, allocations: 0 / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.2847, allocations: 23.86 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.881e-05/0.2848, allocations: 23.97 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.2849, allocations: 15.98 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.901e-05/0.285, allocations: 19.91 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.073e-05/0.2851, allocations: 19.92 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.2851, allocations: 0 / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.2851, allocations: 4 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.2851, allocations: 7.984 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.2852, allocations: 33.64 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.209e-05/0.2852, allocations: 31.91 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2852, allocations: 0 / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2852, allocations: 4 kB / 0.9016 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.2853, allocations: 0 / 0.9016 GB, free: 62.38 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.0004437/0.2857, allocations: 351.5 kB / 0.9019 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2858, allocations: 8.031 kB / 0.9019 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.2858, allocations: 38.55 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.2858, allocations: 3.953 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.2859, allocations: 167 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.2859, allocations: 8 kB / 0.9021 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.286, allocations: 4 kB / 0.9021 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.2862, allocations: 69.66 kB / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2862, allocations: 3.938 kB / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.2862, allocations: 3.938 kB / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2862, allocations: 0 / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.2864, allocations: 67.94 kB / 0.9023 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.2868, allocations: 284.8 kB / 0.9025 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.287, allocations: 78.45 kB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.287, allocations: 4.031 kB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.287, allocations: 34.56 kB / 0.9026 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.287, allocations: 0 / 0.9026 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003745/0.2874, allocations: 125.6 kB / 0.9028 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.2874, allocations: 51.41 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.958e-05/0.2875, allocations: 113.8 kB / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.2875, allocations: 25.7 kB / 0.9029 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.2876, allocations: 92.08 kB / 0.903 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.2876, allocations: 11.89 kB / 0.903 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.2876, allocations: 3.938 kB / 0.9031 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.045e-05/0.2876, allocations: 314.8 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.436e-05/0.2877, allocations: 27.98 kB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.617e-05/0.2878, allocations: 35.97 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.146e-05/0.2879, allocations: 31.91 kB / 0.9034 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.288, allocations: 0 / 0.9034 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002065/0.2882, allocations: 93.56 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.2882, allocations: 8 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2882, allocations: 0 / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2882, allocations: 0 / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.2883, allocations: 11.98 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2883, allocations: 7.953 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.657e-05/0.2884, allocations: 15.98 kB / 0.9036 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.2884, allocations: 0 / 0.9036 GB, free: 60.1 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 (intGreThr.y,reaToInt.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.262e-05/0.2885, allocations: 117.8 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.2885, allocations: 4 kB / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.2886, allocations: 7.906 kB / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.2886, allocations: 0 / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.2886, allocations: 4 kB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2886, allocations: 7.891 kB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.2887, allocations: 177.5 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2887, allocations: 0 / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.2889, allocations: 19.98 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2889, allocations: 0 / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.2889, allocations: 4 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2889, allocations: 0 / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2889, allocations: 0 / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.2892, allocations: 195.5 kB / 0.9041 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.2892, allocations: 81.05 kB / 0.9042 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.2892, allocations: 0 / 0.9042 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/0.2893, allocations: 11.98 kB / 0.9042 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.2894, allocations: 12.36 kB / 0.9042 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.2894, allocations: 4 kB / 0.9042 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.664e-05/0.2894, allocations: 83.27 kB / 0.9043 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2894, allocations: 4 kB / 0.9043 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002043/0.2896, allocations: 19.84 kB / 0.9043 GB, free: 59.26 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 (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.0004253/0.29, allocations: 0.7241 MB / 0.905 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.2903, allocations: 71.88 kB / 0.9051 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2903, allocations: 0 / 0.9051 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.2904, allocations: 39.97 kB / 0.9051 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.2906, allocations: 7.188 kB / 0.9051 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008315/0.2915, allocations: 491.1 kB / 0.9056 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.2916, allocations: 0.6887 MB / 0.9063 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.33e-05/0.2916, allocations: 7.984 kB / 0.9063 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.2917, allocations: 15.44 kB / 0.9063 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2917, allocations: 0 / 0.9063 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.3037, allocations: 1.523 MB / 0.9078 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002499/0.304, allocations: 198.6 kB / 0.908 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/1.78, allocations: 0 / 0.908 GB, free: 55.55 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)