Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.001064/0.001064, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 187.4 kB / 16.62 MB, free: 6.613 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.414/1.414, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.751/1.751, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.002869/0.00287, allocations: 72.78 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2878, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.002282/0.2902, allocations: 0.7195 MB / 0.7843 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2912, allocations: 0.836 MB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.657e-05/0.2913, allocations: 0 / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.2914, allocations: 3.938 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.732e-05/0.2914, allocations: 7.875 kB / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.2916, allocations: 27.91 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.2917, allocations: 47.91 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.2918, allocations: 8 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.292, allocations: 27.91 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.632e-05/0.2921, allocations: 27.91 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.2921, allocations: 4 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.2921, allocations: 4 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.2921, allocations: 4 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/0.2922, allocations: 27.84 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.2923, allocations: 35.88 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.2923, allocations: 0 / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2923, allocations: 7.938 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.2923, allocations: 3.984 kB / 0.7854 GB, free: 11.45 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005237/0.2929, allocations: 355.6 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.2929, allocations: 12.03 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.293, allocations: 38.67 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.293, allocations: 4.938 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.2932, allocations: 168.2 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.2932, allocations: 8.375 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.2932, allocations: 384 / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.2934, allocations: 70.2 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2934, allocations: 7.938 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.2935, allocations: 0 / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2935, allocations: 0 / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/0.2937, allocations: 55.94 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.2941, allocations: 280.8 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.2943, allocations: 74.47 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.2944, allocations: 32.91 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.2945, allocations: 0 / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.2945, allocations: 34.56 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.335e-06/0.2945, allocations: 0 / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0004193/0.2949, allocations: 117.5 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.295, allocations: 55.41 kB / 0.7866 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.252e-05/0.2951, allocations: 105.8 kB / 0.7867 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.2951, allocations: 25.7 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.2951, allocations: 88.14 kB / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.2951, allocations: 7.812 kB / 0.7869 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.2952, allocations: 21.7 kB / 0.7869 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2953, allocations: 314.8 kB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.2954, allocations: 31.97 kB / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.178e-05/0.2955, allocations: 23.98 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.2957, allocations: 52.75 kB / 0.7873 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2957, allocations: 0 / 0.7873 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000252/0.296, allocations: 81.64 kB / 0.7874 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.296, allocations: 11.94 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.296, allocations: 0 / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.296, allocations: 0 / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.2962, allocations: 15.98 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2962, allocations: 0 / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.543e-05/0.2963, allocations: 15.92 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.2963, allocations: 0 / 0.7874 GB, free: 9.141 MB / 0.6075 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,intLesEquThr.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 8.644e-05/0.2964, allocations: 114.4 kB / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.2964, allocations: 11.91 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.2965, allocations: 7.844 kB / 0.7875 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.2965, allocations: 4 kB / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2965, allocations: 0 / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2965, allocations: 3.984 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.2967, allocations: 173.7 kB / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2967, allocations: 4 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.623e-05/0.2968, allocations: 15.98 kB / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.2968, allocations: 0 / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.2968, allocations: 4 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2969, allocations: 7.984 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2969, allocations: 0 / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.2972, allocations: 179.4 kB / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.2972, allocations: 81.39 kB / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.2973, allocations: 4 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.965e-05/0.2974, allocations: 7.984 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.2974, allocations: 15.94 kB / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.2974, allocations: 7.922 kB / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.92e-05/0.2975, allocations: 83.59 kB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2975, allocations: 0 / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002183/0.2977, allocations: 8 kB / 0.7881 GB, free: 8.32 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: 2 (intLesEquThr.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.0006012/0.2983, allocations: 0.7241 MB / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.2986, allocations: 55.89 kB / 0.7889 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2986, allocations: 0 / 0.7889 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.2987, allocations: 31.97 kB / 0.7889 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.299, allocations: 4 kB / 0.7889 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.3006, allocations: 1.327 MB / 0.7902 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.3008, allocations: 0.6807 MB / 0.7909 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.255e-05/0.3009, allocations: 8 kB / 0.7909 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.978e-05/0.3009, allocations: 19.42 kB / 0.7909 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3009, allocations: 0 / 0.7909 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01791/0.3188, allocations: 1.833 MB / 0.7927 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/7.943, allocations: 10.8 kB / 0.7927 GB, free: 3.609 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)