Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.592/2.592, allocations: 287.5 MB / 302.4 MB, free: 8.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001329/0.001329, allocations: 186.4 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.405/2.405, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009296/0.0009295, allocations: 94.84 kB / 0.743 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007174/0.0007177, allocations: 11.94 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2893, allocations: 115.3 MB / 0.9785 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001256/0.2906, allocations: 417.8 kB / 0.9789 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.2923, allocations: 0.8205 MB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.292e-05/0.2924, allocations: 0 / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.2925, allocations: 3.984 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.2926, allocations: 7.938 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.2928, allocations: 19.98 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.293, allocations: 35.92 kB / 0.9797 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.2931, allocations: 15.92 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.589e-05/0.2932, allocations: 23.91 kB / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.744e-05/0.2933, allocations: 19.92 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.2934, allocations: 0 / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.129e-05/0.2934, allocations: 4 kB / 0.9798 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.2935, allocations: 7.922 kB / 0.9798 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.2935, allocations: 33.7 kB / 0.9798 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.65e-05/0.2936, allocations: 27.92 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2936, allocations: 0 / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2937, allocations: 0 / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.2937, allocations: 0 / 0.9799 GB, free: 26.77 MB / 0.6198 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.0007131/0.2944, allocations: 359.5 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/0.2945, allocations: 12.02 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/0.2945, allocations: 38.56 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.2946, allocations: 11.86 kB / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.2948, allocations: 174.9 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.2948, allocations: 0 / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.2949, allocations: 4 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.2952, allocations: 73.66 kB / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2953, allocations: 0 / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.2953, allocations: 0 / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2953, allocations: 4 kB / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005313/0.2959, allocations: 59.94 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006884/0.2966, allocations: 300.7 kB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/0.297, allocations: 66.58 kB / 0.9809 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.2973, allocations: 32.88 kB / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.2973, allocations: 0 / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.2974, allocations: 38.56 kB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.444e-06/0.2974, allocations: 4 kB / 0.981 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0009065/0.2983, allocations: 129.5 kB / 0.9811 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.2984, allocations: 55.39 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.2985, allocations: 109.8 kB / 0.9813 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.2986, allocations: 25.7 kB / 0.9813 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.2986, allocations: 91.98 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.2987, allocations: 7.906 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/0.2987, allocations: 0 / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.2988, allocations: 314.8 kB / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.2991, allocations: 31.97 kB / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.2993, allocations: 32.84 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.2996, allocations: 27.98 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.2996, allocations: 4 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0006129/0.3003, allocations: 93.86 kB / 0.9819 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.3003, allocations: 4 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3003, allocations: 48 / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.3004, allocations: 7.984 kB / 0.9819 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.3006, allocations: 19.94 kB / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3007, allocations: 0 / 0.9819 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.3009, allocations: 19.83 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.3009, allocations: 4 kB / 0.9819 GB, free: 24.43 MB / 0.6198 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 0.0001153/0.301, allocations: 109.8 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.019e-05/0.3011, allocations: 4 kB / 0.982 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/0.3011, allocations: 7.906 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.3012, allocations: 4 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.3012, allocations: 3.953 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3012, allocations: 3.984 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.3015, allocations: 169.7 kB / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3015, allocations: 0 / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.3017, allocations: 11.98 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/0.3018, allocations: 4 kB / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.3018, allocations: 7.922 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3018, allocations: 0 / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3018, allocations: 4 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006112/0.3025, allocations: 195.4 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.3025, allocations: 85.11 kB / 0.9825 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.3026, allocations: 4 kB / 0.9825 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.3028, allocations: 11.98 kB / 0.9825 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.3029, allocations: 11.98 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.303, allocations: 0 / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.353e-05/0.3031, allocations: 83.28 kB / 0.9826 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.11e-07/0.3031, allocations: 3.938 kB / 0.9826 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005203/0.3036, allocations: 15.94 kB / 0.9826 GB, free: 23.61 MB / 0.6198 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.0009333/0.3046, allocations: 0.733 MB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005898/0.3052, allocations: 63.95 kB / 0.9834 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.3052, allocations: 0 / 0.9834 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002641/0.3055, allocations: 39.91 kB / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005942/0.3061, allocations: 12.97 kB / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.308, allocations: 482.4 kB / 0.9839 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.3082, allocations: 0.6809 MB / 0.9846 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.3084, allocations: 7.984 kB / 0.9846 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.483e-05/0.3085, allocations: 15.44 kB / 0.9846 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of SimCode: time 2.575e-06/0.3085, allocations: 0 / 0.9846 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/0.3318, allocations: 1.54 MB / 0.9861 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/0.3321, allocations: 204.8 kB / 0.9863 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.551/2.883, allocations: 0 / 0.9863 GB, free: 19.88 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)